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

Jesse Smith jsmith at resonatingmedia.com
Thu Mar 23 14:50:24 GMT 2023


On 2023-03-23 11:36 a.m., Markus Fischer wrote:
> Alright. Then there is still the issue with gdb, which is no symlink.
> A full example for that:
>
> ```shell 1
>
> $ type gdb
> gdb is /usr/bin/gdb
> $ gdb --core=corefile
>
> ```
>
> ```shell 2
>
> $ ./pidof gdb
> 23125
> $ ./pidof $(which gdb)
> $ ls -l $(which gdb)
> -rwxr-xr-x 1 root root 9904496 Feb 24 22:58 /usr/bin/gdb
>


This one I have not been able to duplicate. Does it happen with any
other programs which accept arguments or just gdb?



More information about the Debian-init-diversity mailing list