[BusyBox 0000770]: start-stop-daemon not working without a pidfile
bugs at busybox.net
bugs at busybox.net
Sat Sep 2 06:55:21 PDT 2006
A NOTE has been added to this issue.
======================================================================
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: 09-02-2006 06:55 PDT
======================================================================
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.
======================================================================
----------------------------------------------------------------------
bernhardf - 06-11-06 11:12
----------------------------------------------------------------------
Sounds like fun. Do you by chance have a patch for this at hand?
----------------------------------------------------------------------
bernhardf - 09-02-06 06:55
----------------------------------------------------------------------
Ncopa suggests this patch, please test and report back. TIA!
http://busybox.net/lists/busybox/2006-August/023949.html
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
06-11-06 11:12 bernhardf Note Added: 0001420
09-02-06 06:55 bernhardf Note Added: 0001601
======================================================================
More information about the busybox-cvs
mailing list