Package: dpkg Version: 1.15.8.11 Severity: normal
Hi, Consider the case where your daemon is written in python. If you tell start-stop-daemon to exec my-daemon, a python script with a shebang, then check() will fail to verify the pid, because /proc reports 'python2.6' as the executable. If you tell start-stop-daemon to exec directly python with the script as argument, you hit a bug when you have no pid: start-stop-daemon will walk /proc searching for a python2.6 process to kill. Do you have a solution for such case ? (except using supervisord or even systemd ;) ). I guess that a good solution would be to avoid the walk through /proc to search corresponding process if there is no pidfile. I can make a patch for that if you appreciate the idea. Regards, Étienne BERSAC -- System Information: Debian Release: 6.0.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/6 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dpkg depends on: ii coreutils 8.5-1 GNU core utilities ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libselinux1 2.0.96-1 SELinux runtime shared libraries ii xz-utils 5.0.0-2 XZ-format compression utilities ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.8.10.3+squeeze1 Advanced front-end for dpkg -- no debconf information -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org