Bug#1033311: sysvinit-utils: pidof not always returning a pid when using the full path to a program

Markus Fischer ivanhoe at fiscari.de
Wed Mar 22 14:48:30 GMT 2023


I just could reproduce another case where pidof with the argument being 
a full path to a binary doesn't return a pid. It is not related to the 
argument being a symlink.

This time it seems to be related to the program having been started with 
arguments but I don't see the unexpected behaviour with just any 
arguments, just some.

For example, when having gdb running with "gdb --core=corefile" "pidof 
$(which gdb)" does not return a pid but when I start gdb with "gdb 
--quiet" "pidof $(which gdb)" behaves as expected.



More information about the Debian-init-diversity mailing list