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

Jesse Smith jessefrgsmith at yahoo.ca
Wed Mar 29 14:35:44 BST 2023


> 
> I think I have found the offending commit:
> 0b695c7e0b1cac60ed77c56f224e296f023b652e uses memset *after* realpath which wipes
> the canonical resolved path.
> 
> I suggest this fix as a starting point.
> 

I'd agree. I was running into some situations where a symlink wasn't
recognized and this corrects the behaviour for me. Committed this patch
upstream.

- Jesse



More information about the Debian-init-diversity mailing list