Bug#926896: sysvinit-utils: pidof is unreliable

Dmitry Bogatov KAction at debian.org
Sun Apr 14 11:52:52 BST 2019

control: tags -1 +moreinfo

[2019-04-11 20:55] Witold Baryluk <witold.baryluk at gmail.com>
> Package: sysvinit-utils
> Version: 2.93-8
> Severity: important
> root at debian:~# echo; whoami; echo; ps aux | grep 'dd if'; echo; hd /proc/41344/cmdline ; echo; ls -l /proc/413
> 44/exe; echo; pidof dd || echo "Not found"; echo; ls -l /proc/41344/exe

I tried somthing similar, works fine:

	$ dd if=/dev/random of=/dev/null bs=64k
	## on another tty
	$ pidof dd # YMMV

So it seems there is nothing special in name 'dd'. We need more
information. Can you reproduce problem? Can you reproduce problem as
non-root? Does it specific to 'dd'? Can you provide typescript
[script(1)] of how things go wrong on your computer? You use AppArmor.
Does pidof have profile? Is there anything about pidof(1) in AppArmor
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction

More information about the Debian-init-diversity mailing list