Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849872 - acct-user/amule must set a valid home directory.
Summary: acct-user/amule must set a valid home directory.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexander Tsoy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-06 01:26 UTC by Sergey Okhapkin
Modified: 2022-07-09 22:37 UTC (History)
1 user (show)

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 Sergey Okhapkin 2022-06-06 01:26:37 UTC
acct-user/amule must must set /var/lib/amule as home directory for amule user, otherwise amuled fails to start.

Reproducible: Always

Steps to Reproduce:
1. Install net-p2p/amule package
2. Start amuled daemon
3.
Actual Results:  
amuled fails and there is no way to start amule as amule user to configure it.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-06 01:27:35 UTC
Please share a log of it failing.
Comment 2 Sergey Okhapkin 2022-06-06 01:30:59 UTC
~ # /etc/init.d/amuled start
 * Starting aMule Daemon ...
 * aMule daemon can't be started! Check logfile: /var/log/amuled.log                                                      [ !! ]
 * ERROR: amuled failed to start

/var/log/amuled.log is empty.
Comment 3 Sergey Okhapkin 2022-06-06 01:49:46 UTC
~ # HOME=/var/lib/amule/ runuser -u amule  amuled
 2022-06-05 19:52:47: Initialising aMuleD 2.3.3 compiled with wxBase(GTK2) v3.0.4 and Boost 1.78
!2022-06-05 19:52:47: ERROR: Fatal error. Could not create the configuration directory at '/dev/null/.aMule/'.
Comment 4 Larry the Git Cow gentoo-dev 2022-07-09 22:37:37 UTC
The bug has been closed via the following commit(s):

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

commit cbf72063e1930a75226e41bf8beae61f684b259f
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-07-09 22:35:33 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-07-09 22:36:42 +0000

    acct-user/amule: set home directory
    
    If not set, amule cannot be started,
    since it wan't to write into a home directory.
    
    Closes: https://bugs.gentoo.org/849872
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 acct-user/amule/{amule-0-r1.ebuild => amule-0-r2.ebuild} | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)