Current64 : killall change of behavior
by burdi01 from LinuxQuestions.org on (#4QXXJ)
Current64 changelog:
Sun Sep 15 21:15:56 UTC 2019
a/procps-ng-3.3.15-x86_64-3.txz: Rebuilt.
Upgraded to psmisc-23.2.
This rebuild brings with it a change of behavior for killall. Killall's that worked before no longer do.
With build 3:Code:rescue:~# ps -ef | grep fstab
root 6867 1 0 11:58 tty1 00:00:00 /bin/bash /usr/bin/pmagic_fstab_daemon
root 6985 6948 0 11:58 pts/0 00:00:00 grep fstab
rescue:~# ps -e | grep fstab
6867 tty1 00:00:00 pmagic_fstab_da
rescue:~# killall pmagic_fstab_daemon
pmagic_fstab_daemon: no process found ######
rescue:~# ps -e | grep fstab
6867 tty1 00:00:00 pmagic_fstab_da
rescue:~# killall pmagic_fstab_da
rescue:~# ps -e | grep fstab
rescue:~#With build 2 :Code:rescue:~# ps -ef | grep fstab
root 3818 1 0 15:14 tty1 00:00:00 /bin/bash /usr/bin/pmagic_fstab_daemon
root 4761 3809 0 15:20 pts/0 00:00:00 grep fstab
rescue:~# ps -e | grep fstab
3818 tty1 00:00:00 pmagic_fstab_da
rescue:~# killall pmagic_fstab_daemon
rescue:~# ps -e | grep fstab
rescue:~# pmagic_fstab_daemon 2> /dev/null &
[1] 4857
rescue:~# ps -e | grep fstab
4857 pts/0 00:00:00 pmagic_fstab_da
rescue:~# killall pmagic_fstab_da
pmagic_fstab_da: no process found ######
rescue:~#From the man page: Quote:
Imho this paragraph is somewhat ambiguous and it matches none of the above results.
:D


Sun Sep 15 21:15:56 UTC 2019
a/procps-ng-3.3.15-x86_64-3.txz: Rebuilt.
Upgraded to psmisc-23.2.
This rebuild brings with it a change of behavior for killall. Killall's that worked before no longer do.
With build 3:Code:rescue:~# ps -ef | grep fstab
root 6867 1 0 11:58 tty1 00:00:00 /bin/bash /usr/bin/pmagic_fstab_daemon
root 6985 6948 0 11:58 pts/0 00:00:00 grep fstab
rescue:~# ps -e | grep fstab
6867 tty1 00:00:00 pmagic_fstab_da
rescue:~# killall pmagic_fstab_daemon
pmagic_fstab_daemon: no process found ######
rescue:~# ps -e | grep fstab
6867 tty1 00:00:00 pmagic_fstab_da
rescue:~# killall pmagic_fstab_da
rescue:~# ps -e | grep fstab
rescue:~#With build 2 :Code:rescue:~# ps -ef | grep fstab
root 3818 1 0 15:14 tty1 00:00:00 /bin/bash /usr/bin/pmagic_fstab_daemon
root 4761 3809 0 15:20 pts/0 00:00:00 grep fstab
rescue:~# ps -e | grep fstab
3818 tty1 00:00:00 pmagic_fstab_da
rescue:~# killall pmagic_fstab_daemon
rescue:~# ps -e | grep fstab
rescue:~# pmagic_fstab_daemon 2> /dev/null &
[1] 4857
rescue:~# ps -e | grep fstab
4857 pts/0 00:00:00 pmagic_fstab_da
rescue:~# killall pmagic_fstab_da
pmagic_fstab_da: no process found ######
rescue:~#From the man page: Quote:
| If a command name is longer than 15 characters, its full name might not be available, in which case killall by default will terminate every process whose name matches the first 15 characters. The -e option tells killall to require an exact match for long names, and thus such entries are skipped. killall returns a message for each skipped entry if the -v (i.e., verbose) option is specified along with the -e option. |
:D