Bug#926896: sysvinit-utils: pidof is unreliable

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

[2019-04-11 18:13] Jesse Smith <jessefrgsmith at yahoo.ca>
> > For some reason pidof can't find 'dd'. pidof dd prints nothing and
> > returns false (exit code 1).
> >
> > Both dd and pidof are running as root.
> >
> > killall -USR1 dd , delivers a signal to correct process, so killall
> > (from psmisc package) does find it.
> I tried the provided example and it works as expected for me, with pidof
> printing out the PID of the dd command.
> Anyone else able to confirm whether they can reproduce the bug or not?

Just wild guess -- maybe there are permission issues? You can mount
/proc, that only your own processes are available

More information about the Debian-init-diversity mailing list