Article 4QXXJ Current64 : killall change of behavior

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:
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.
Imho this paragraph is somewhat ambiguous and it matches none of the above results.
:Dlatest?d=yIl2AUoC8zA latest?i=aZMSi92BCmA:0CIJFXw1G1s:F7zBnMy latest?i=aZMSi92BCmA:0CIJFXw1G1s:V_sGLiP latest?d=qj6IDK7rITs latest?i=aZMSi92BCmA:0CIJFXw1G1s:gIN9vFwaZMSi92BCmA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments