Bug#926896: sysvinit-utils: pidof is unreliable

Svante Signell svante.signell at gmail.com
Fri Oct 22 22:52:30 BST 2021


Hi Jesse,

On Thu, 2021-10-21 at 14:51 -0300, Jesse Smith wrote:
> Please give the attached patch a try and confirm it's working.  It's
> working here for normal and zombie processes and it seems to be okay
> for uninterruptable sleep processes too, but I'd like to have someone
> else confirm everything looks right before I push this upstream.

Please don't use PATH_MAX in your code, that will eventually cause
problems. Especially using PATH_MAX will make builds for GNU/Hurd to
FTBFS.

Thanks!



More information about the Debian-init-diversity mailing list