killall -SOMESIGNAL broken by psmisc-23.2
|Reported by:||Owned by:||lfs-book|
I'm sure I mentioned this some months ago, either in October or November, but I'm not sure on which list and I can't find it in the archives. I reverted to psmisc-23.1 for my own builds. I use killall -HUP (or whatever) fairly frequently, e.g. to save state in a browser before rebooting. With 23.2 that breaks (any named signal appears to generate an error).
Apart from general usage, I used to stop syslogd when rotating my logs with
/bin/killall -HUP syslogd
but that became ineffective in 23.2 (daemon was still running, log did not get properly rotated). I think Bruce's view was "wait for the next release of psmisc", but since we are now heading for our own release ...
Hopefully, someone using 23.2 can try killing a named process to see if it gets killed (in which case this ticket can be closed as invalid), or else report the error message.
Looking at the BLFS book just now (pulseaudio) I see that I mention killall there.