/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.
$more /var/log/mldonkey.log start-stop-daemon: Unable to start /usr/bin/mlnet: Permission denied
are you starting it as root?
yes, as root ;)
what mldonkey version?
Latest version installed: 2.5.4
do you have the user p2p and the directory /home/p2p ?
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)
enewuser should automatically create the home directory
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.
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 :)