Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34836 - not work /etc/init.d after emerging mldonkey
Summary: not work /etc/init.d after emerging mldonkey
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-01 10:04 UTC by Aben Siatris
Modified: 2003-12-18 12:46 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 Aben Siatris 2003-12-01 10:04:53 UTC
/etc/init.d/mldonkey start
 * Starting mldonkey...
 * Directory /home/p2p/.mldonkey not existing, trying to create...
 * Directory /home/p2p/.mldonkey could not be created!

Reproducible: Always
Steps to Reproduce:
1.emerge mldonkey
2./etc/init.d/mldonkey start
3.
Comment 1 Aben Siatris 2003-12-01 23:20:10 UTC
$more /var/log/mldonkey.log
start-stop-daemon: Unable to start /usr/bin/mlnet: Permission denied
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-13 08:15:41 UTC
are you starting it as root?
Comment 3 Aben Siatris 2003-12-14 06:32:31 UTC
yes, as root ;)
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-14 11:35:38 UTC
what mldonkey version?
Comment 5 Aben Siatris 2003-12-15 00:02:55 UTC
Latest version installed: 2.5.4
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-15 07:06:46 UTC
do you have the user p2p and the directory /home/p2p ?
Comment 7 Aben Siatris 2003-12-15 23:14:57 UTC
yes, user is created
line from /etc/passwd
p2p:x:1000:100:added by portage for mldonkey:/home/p2p:/bin/bash

/home/p2p is not created, but it is problem of ebuild 
(enewuser ${MLUSER} -1 /bin/bash /home/p2p users), or not? :)

after handly creating this directory, /etc/init.d/mldonkey is all ok.

(sorry for my english)

Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-16 06:15:09 UTC
enewuser should automatically create the home directory
Comment 9 Aben Siatris 2003-12-17 04:41:17 UTC
Error must be in enewuser. Because it will not create directory /home/p2p. I have emerged mldonkey few times, i have checked /home permissions but I was unable to see any error.
If there is interest, I may look deeper for the reason of this problem, because in my case enewuser in this ebuild and my Gentoo is not functional.
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-18 12:46:31 UTC
I found the error :)

The home dir will be created in pkg_setup, but before src_install the image dir will be removed again, so i moved enewuser to src_install :)