Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704828 - net-mail/fetchmail-6.4.1-r2 : missing home directory for new fetchmail user prevents service start
Summary: net-mail/fetchmail-6.4.1-r2 : missing home directory for new fetchmail user p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-05 17:53 UTC by Daniel Kenzelmann
Modified: 2020-01-05 23:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kenzelmann 2020-01-05 17:53:54 UTC
After installing the updated fetchmail and rebooting, the following error occurs when starting fetchmail:

 * Starting fetchmail ...
fetchmail: Cannot find absolute path for user's home directory.
 * start-stop-daemon: failed to start `/usr/bin/fetchmail'                                                                                                                     [ !! ]
 * ERROR: fetchmail failed to start


After investigation, it looks like the specified home directory for user fetchmail ("/var/lib/fetchmail") was not created. After manually adding that folder and assigning it to fetchmail, it starts up correctly.

Reproducible: Always

Actual Results:  
Failed to start

Expected Results:  
fetchmail home directory should also be created during install
Comment 1 Bernard Cafarelli gentoo-dev 2020-01-05 23:09:39 UTC
Sorry for that, in my rush to push a fix in -r2, the new dependency on acct-user/fetchmail (now handling the user) did not make it. Thanks for the report I will push a -r3 ASAP
Comment 2 Larry the Git Cow gentoo-dev 2020-01-05 23:10:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12fb4227c33c6f39f99c838b2c36c6f44c3d7138

commit 12fb4227c33c6f39f99c838b2c36c6f44c3d7138
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-01-05 23:10:01 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-01-05 23:10:01 +0000

    net-mail/fetchmail: actually add acct-user/fetchmail RDEP
    
    Closes: https://bugs.gentoo.org/704828
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../fetchmail/{fetchmail-6.4.1-r2.ebuild => fetchmail-6.4.1-r3.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)