Bug#202719: start-stop-daemon: --exec should also check the first argument of /proc/PID/cmdline
Package: dpkg
Version: 1.9.21
Severity: normal
Currently, start-stop-daemon only checks the /proc/PID/exe if started
with the --exex|-e option. The problem is: If a program is e.g. a PERL
script, /proc/PID/exe -> /usr/bin/perl. Therefore the /proc/PID/cmdline
is of interest.
This is needed because of Debian bug:
#167757: lsb: start_daemon start already running programs
Tobias
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux g25 2.4.21-ck3-nfsacl-i2c #1 Tue Jul 15 22:49:42 CEST 2003 i686
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8
Versions of packages dpkg depends on:
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libncurses5 5.2.20020112a-7 Shared libraries for terminal hand
ii libstdc++2.10-glibc2.2 1:2.95.4-11woody1 The GNU stdc++ library
Reply to: