tags 536543 pending thanks On Saturday 11 July 2009 09:41:00 Stefan Lippers-Hollmann wrote: > Package: sysvinit-utils > Version: 2.86.ds1-64 > Severity: important > > Hi > > Starting with sysvinit-utils 2.86.ds1-64, pidof got broken and does not > list process IDs anymore. > > $ /bin/pidof sshd > $ /bin/pidof /usr/sbin/sshd > $ /bin/pidof -c sshd > $ /bin/pidof -c /usr/sbin/sshd
Confirmed. > > Disabling just 85_killall_safecwd.dpatch (added in svn r1373) from current > svn trunk (r1400) re-establishes the expected behaviour. The patch set CWD to /proc for the case of killall5 but not for pidof. I've modified [0] the patch to do the chdir() in a common function which is called in both cases. Hopefully this works okay. [0] http://lists.alioth.debian.org/pipermail/pkg-sysvinit-commits/2009-July/001327.html > > $ /tmp/pkg/pidof sshd > 21273 21270 3148 > $ /tmp/pkg/pidof /usr/sbin/sshd > 21273 21270 3148 > $ /tmp/pkg/pidof -c sshd > 21273 21270 3148 > $ /tmp/pkg/pidof -c /usr/sbin/sshd > 21273 21270 3148 > > I am choosing severity=important, because pidof is used in many initscripts > and might have a serious impact on services relying on its output. > > Regards > Stefan Lippers-Hollmann > Thanks, Kel. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org