Bug#472846: busybox: Regression in pidof: no longer lists 'debian-installer' processes
Package: busybox
Version: 1:1.9.2-1
Severity: important
Tags: d-i
In Debian Installer we're seeing a regression in pidof. For certain
processes it no longer returns the PID.
# ps ax | grep [d]ebian-installer
452 root 1408 S /bin/sh /sbin/debian-installer
5594 root 1964 S /bin/sh /sbin/debian-installer /bin/network-console-m
5641 root 1964 S /bin/sh /sbin/debian-installer /bin/network-console-m
# pidof debian-installer
#
With busybox 1.3.x the pidof command would return the PIDs:
# pidof debian-installer
452 5594 5641
The first of these processes is started from /etc/inittab:
::respawn:/bin/cttyhack /sbin/debian-installer
The second and third are started from an ssh connection to the system:
# cat /etc/passwd
root:*:0:0:root:/:/bin/sh
installer:x:0:0:installer:/:/bin/network-console
# cat /bin/network-console
#!/bin/sh
set -e
[...]
exec /sbin/debian-installer /bin/network-console-menu
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-rc6 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages busybox depends on:
ii libc6 2.7-9 GNU C Library: Shared libraries
busybox recommends no packages.
-- no debconf information
Reply to: