Bug#926896: sysvinit-utils: pidof is unreliable

Axel Beckert abe at debian.org
Fri May 1 14:44:47 BST 2020

Костик Покотиленко wrote:
> Fedora ships pidof with procps-ng (procps on Debian) and does not have such
> problem.
> Debian ships pidof with sysvinit-utils which have this problem (skipping D
> and Z processes).

Костик Покотиленко wrote:
> This is regarding why this bug is not observed in Stretch and earlier.
> D and Z skipping behaviour was introduced by
> http://git.savannah.nongnu.org/cgit/sysvinit.git/commit/src/killall5.c?id=1b659c8ebebd86be51095ab905293889a306ff01
> to resolve
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719273

So from what I gather, this means that procps's pidof has the problem
described in this bug report?

>From my point of view the only way to solve this without reopening
#719273 is to add a switch which recognizes D processes or not. Or
adds some kind of timeout.

		Regards, Axel
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

More information about the Debian-init-diversity mailing list