[BusyBox 0000324]: start-stop-daemon failed to start up syslogd
bugs at busybox.net
bugs at busybox.net
Tue Feb 12 02:44:14 PST 2008
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=324
======================================================================
Reported By: zhuangyy
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 324
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 07-05-2005 19:12 PDT
Last Modified: 02-12-2008 02:44 PST
======================================================================
Summary: start-stop-daemon failed to start up syslogd
Description:
/ # /sbin/start-stop-daemon --start --exec /sbin/syslogd -- -b 1 -L -s 50
/sbin/syslogd already running.
441
but the syslogd is not there and process 441 is not running.
======================================================================
----------------------------------------------------------------------
zhuangyy - 07-05-05 23:01
----------------------------------------------------------------------
syslogd is the applet in busybox
this bug also applies to crond applet in busybox
----------------------------------------------------------------------
Jean-Baptiste Maillet - 08-08-05 08:52
----------------------------------------------------------------------
start-stop-daemon creates a pid file with the PID of the daemon process
before it actually daemonize itself (fork) :
# ps | grep klogd
258 root 572 S /sbin/klogd
276 root 504 S grep klogd
# killall klogd
# /sbin/start-stop-daemon --start --make-pidfile --pidfile /root/klogdpid
--exec /sbin/klogd
# cat /root/klogdpid
278
# ps | grep klogd
279 root 572 S /sbin/klogd
282 root 504 S grep klogd
# /sbin/start-stop-daemon --stop --pidfile /root/klogdpid --exec
/sbin/klogd
no /sbin/klogd found; none killed.
----------------------------------------------------------------------
vda - 02-12-08 02:44
----------------------------------------------------------------------
User error:
start-stop-daemon cannot prevent process from daemonizing (and in this
case will think that process exited). You need to prevent that yourself
(e.g. by giving it appropriate command-line option)
Issue History
Date Modified Username Field Change
======================================================================
07-05-05 19:12 zhuangyy New Issue
07-05-05 23:01 zhuangyy Note Added: 0000268
08-08-05 08:52 Jean-Baptiste MailletNote Added: 0000394
02-12-08 02:44 vda Status assigned => closed
02-12-08 02:44 vda Note Added: 0004224
======================================================================
More information about the busybox-cvs
mailing list