On 2023-03-23 12:04 p.m., Markus Fischer wrote: > I could also reproduce it with emacs. I've used emacs-gtk to avoid the > symlink. > > ```shell 1 > $ emacs-gtk -nw -fn helvetica > ``` > > ```shell 2 > $ ./pidof emacs-gtk > 24727 > $ ./pidof $(which emacs-gtk) > $ ls -l $(which emacs-gtk) > -rwxr-xr-x 1 root root 5294300 Mar 14 21:30 /usr/bin/emacs-gtk > ``` This is interesting. Is there anything else you can share that might shed light on why this happens while I can't get the same results? You mentioned you're using two separate shells. Are they with the same user account? Is there any PID hiding feature of Debian enabled? Does it still happen if you run "pidof -z $(which emacs-gtk)"?
- Bug#1033311: sysvinit-utils: pidof not always returning a ... Mark Hindley
- Bug#1033311: sysvinit-utils: pidof not always returni... Jesse Smith
- Bug#1033311: sysvinit-utils: pidof not always returni... Jesse Smith
- Bug#1033311: sysvinit-utils: pidof not always ret... Markus Fischer
- Bug#1033311: sysvinit-utils: pidof not always... Jesse Smith
- Bug#1033311: sysvinit-utils: pidof not al... Markus Fischer
- Bug#1033311: sysvinit-utils: pidof n... Jesse Smith
- Bug#1033311: sysvinit-utils: pid... Markus Fischer
- Bug#1033311: sysvinit-utils: pid... Jesse Smith
- Bug#1033311: sysvinit-utils: pid... Markus Fischer
- Bug#1033311: sysvinit-utils: pid... Jesse Smith
- Bug#1033311: sysvinit-utils: pid... Markus Fischer
- Bug#1033311: sysvinit-utils: pid... Jesse Smith
- Bug#1033311: sysvinit-utils: pid... Markus Fischer
- Bug#1033311: sysvinit-utils: pid... Jesse Smith
- Bug#1033311: sysvinit-utils: pid... Matthew Vernon
- Bug#1033311: sysvinit-utils: pid... Mark Hindley
- Bug#1033311: sysvinit-utils: pid... Jesse Smith
- Bug#1033311: sysvinit-utils: pid... Thorsten Glaser
- Bug#1033311: sysvinit-utils: pidof not always returning a ... Markus Fischer
- Bug#1033311: sysvinit-utils: pidof not always returning a ... Mark Hindley