[Pkg-sysvinit-devel] Bug#536543: sysvinit-utils: pidof doesn't return any pid

Stefan Lippers-Hollmann s.L-H at gmx.de
Fri Jul 10 23:41:00 UTC 2009

Package: sysvinit-utils
Version: 2.86.ds1-64
Severity: important


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

Disabling just 85_killall_safecwd.dpatch (added in svn r1373) from current
svn trunk (r1400) re-establishes the expected behaviour.

$ /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.

	Stefan Lippers-Hollmann

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1.slh.3-sidux-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysvinit-utils depends on:
ii  libc6                         2.9-19     GNU C Library: Shared libraries
ii  libselinux1                   2.0.82-1   SELinux shared libraries
ii  libsepol1                     2.0.36-1   Security Enhanced Linux policy lib

sysvinit-utils recommends no packages.

Versions of packages sysvinit-utils suggests:
pn  sash                          <none>     (no description available)

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20090711/c55524d2/attachment.pgp>

More information about the Pkg-sysvinit-devel mailing list