Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 562912

Summary: mail-mta/nullmailer-1.13-r5: Paths in man pages don't correspond with installation
Product: Gentoo Linux Reporter: Roland Hopferwieser <gentoo>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED OBSOLETE    
Severity: trivial CC: jlec, net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Diff for Ebuild and init files

Description Roland Hopferwieser 2015-10-12 09:42:32 UTC
The pathes described in man pages nullmailer-send and nullmailer-queue don't correspond with the real pathes of the installation.

In addition nullmailer stores everything directly in /var/nullmailer which is not the best location.

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-10-14 09:35:48 UTC
Could you send us some patches or a PR at GH?
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-10-14 09:37:44 UTC
Do those patches fix this issue?

http://http.debian.net/debian/pool/main/n/nullmailer/nullmailer_1.13-1.debian.tar.xz
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-10-14 21:16:18 UTC
/var/nullmailer is how upstream packages it.
Debian moves the queue directory stuff to /var/spool/nullmailer for their FHS compliance goals.

So the question is really, should we follow upstream or go with Debian?

The debian patches DO make the documentation match their location of /var/spool/nullmailer.

As to which is best, there are believers in both setups. /var/nullmailer as a path comes from the same origin as /var/qmail, and DJB had a very old screed about why /var/spool/ wasn't the best fit for qmail.
Comment 4 Roland Hopferwieser 2016-02-24 11:27:43 UTC
Created attachment 426400 [details, diff]
Diff for Ebuild and init files

I think it is better to follow the FHS.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2016-02-24 11:33:43 UTC
(In reply to Robin Johnson from comment #3)
> /var/nullmailer is how upstream packages it.
> Debian moves the queue directory stuff to /var/spool/nullmailer for their
> FHS compliance goals.
> 
> So the question is really, should we follow upstream or go with Debian?
> 

I would suggest following upstream.
Comment 6 Roland Hopferwieser 2016-02-24 11:38:20 UTC
From version 2.0 there is no different between upstream and HFS:

> Changes in version 2.0
> ...
> - Moved spool directory to /var/spool/nullmailer like other MTAs.

http://untroubled.org/nullmailer/NEWS
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2016-02-24 12:07:11 UTC
(In reply to Roland Hopferwieser from comment #6)
> From version 2.0 there is no different between upstream and HFS:
> 
> > Changes in version 2.0
> > ...
> > - Moved spool directory to /var/spool/nullmailer like other MTAs.
> 
> http://untroubled.org/nullmailer/NEWS

Yeah, I just saw it. Let's move to the new location in version 2.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2016-02-24 16:36:12 UTC
commit 250d3d079190d5f98e29f7c68e64ab340587a933
Author: Justin Lecher <jlec@gentoo.org>
Date:   Wed Feb 24 17:33:37 2016 +0100

    mail-mta/nullmailer: Version Bump

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573090
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562912

    Package-Manager: portage-2.2.27
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=250d3d079190d5f98e29f7c68e64ab340587a933