severity 726925 wishlist retitle 726925 Failure of daemon function shall print an explanation thanks
Hallo, * Marian Omelka [Sun, Oct 20 2013, 07:20:48PM]: > If I run this package through "service apt-cacher-ng start" it displays > message: > [....] Starting apt-cacher-ng: apt-cacher-ngFailed to change to daemon mode > .. ok > > But if I start it using command "apt-cacher-ng -c /etc/apt-cacher-ng" it will > start normally. > > Log files are empty. This is not normal but the reason might be anything which brings the daemon() function to fall. If the logs are also empty then I assume that you messed something up with your environment, maybe with the permissions or even with the kernel (like not enabling PTY support or so). If you don't know for sure, use "strace -f". I am downgrading your report now because this message should really include the errno value (decoded to a readable error message). Regards, Eduard. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

