[BusyBox 0000770]: start-stop-daemon not working without a pidfile

bugs at busybox.net bugs at busybox.net
Sat Mar 4 23:29:10 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=770 
====================================================================== 
Reported By:                ramack
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   770
Category:                   New Features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-04-2006 15:29 PST
Last Modified:              03-04-2006 15:29 PST
====================================================================== 
Summary:                    start-stop-daemon not working without a pidfile
Description: 
if you call
start-stop-daemon --start --exec /sbin/syslogd
syslogd will not be startet. /sbin/syslogd is a softlink to busybox. I
guess, stat("/proc/%d/exe", &sb) leads to file statistics equal to
stat(name, &exec_stat), in function pid_is_exec of start_stop_deamon.c.
start-stop-deamon is an instance of busybox binary and should start
another busybox - the same executable, but with another applet, but it
finds itself already running -> start-stop-daemon without --pidfile option
doesn't work.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-04-06 15:29  ramack         New Issue                                    
03-04-06 15:29  ramack         Status                   new => assigned     
03-04-06 15:29  ramack         Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list