[BusyBox] start-stop-daemon --background

Zeisberger, Uwe Uwe_Zeisberger at digi.com
Fri Aug 12 09:52:55 UTC 2005


Hello,

my root is mounted ro, and I want to start a daemon with start-stop-daemon as follows:

	# start-stop-daemon --start --pidfile /var/run/utelnetd.pid --background --make-pidfile --exec /sbin/utelnetd

This call is silent and exits with 0, but my telnet daemon is not started.

Without --background I get an error as expected:

	# start-stop-daemon --start --pidfile /var/run/utelnetd.pid --make-pidfile --exec /sbin/utelnetd 
	start-stop-daemon: Unable to write pidfile '/var/run/utelnetd.pid': Permission denied

With the start-stop-daemon on my host (from debian package dpkg-1.13.10)
I also get an error with --background.

I didn't look in the source, but probably this is easy to fix.
If I find some time I will prepare a patch[1].

Best regards
Uwe

[1] If someone will work at this earlier, please send an email
    to avoid double work.

-- 
Uwe Zeisberger, FS Forth-Systeme GmbH, http://www.fsforth.de/
A Digi International Company
Küferstraße 8, D-79206 Breisach, Germany
Phone: +49 (7667) 908 0 Fax: +49 (7667) 908 200



More information about the busybox mailing list