Bug#270394: start-stop-daemon doesn't create pid file sometimes
Package: dpkg
Version: 1.10.23
Here is a way to cause start-stop-daemon to not create a pidfile. This seems
like a bug.
# killall sshd
# cp -pr ssh ssh-x
# start-stop-daemon --start --quiet --pidfile /var/run/sshd-x.pid --exec
/usr/sbin/sshd -- -f /etc/ssh-x/sshd_config
# cat /var/run/sshd-x.pid
cat: /var/run/sshd-x.pid: No such file or directory
Linux ltsp1 2.6.7 #11 SMP Mon Sep 6 13:07:49 IST 2004 i686 GNU/Linux
glibc 2.3.2.ds1-11
Reply to: