Notes |
(0000268)
zhuangyy
07-05-05 23:01
|
syslogd is the applet in busybox
this bug also applies to crond applet in busybox |
| |
(0000394)
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. |
| |
(0004224)
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) |
| |