[BusyBox-cvs] [BusyBox 0000324]: start-stop-daemon failed to start up syslogd

bugs at busybox.net bugs at busybox.net
Mon Aug 8 15:52:23 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             07-05-2005 19:12 PDT
Last Modified:              08-08-2005 08:52 PDT
====================================================================== 
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. 

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                        
 
======================================================================




More information about the busybox-cvs mailing list