killall5 fails on more than 16 "-o <pid>" parameters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: sysvinit
killall5 has a parameter called "-o" with which you can specify which PIDs not to kill. If giving more than 16 such arguments, killall5 fails with "killall5: omit pid buffer size 16 exceeded!" probably causing bug #616287.
At least, this behaviour should be documented in the manpage (it isn't).
Nice to have would be a bigger or an arbitrary limit.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: sysvinit-utils 2.87dsf-4ubuntu17
Uname: Linux 2.6.32-gubbelgubbel i686
Architecture: i386
Date: Thu Sep 9 22:36:47 2010
ProcEnviron:
LANGUAGE=
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: sysvinit
=======
SRU justification:
1. It has been been fixed since maverick.
2.1. Can cause upstart jobs to get killed when omitted - this can have a serious impact, as mentioned in Comment #5.
2.2. This issue was addressed in 2.87dsf-4ubuntu18, as shipped in maverick.
2.3. The patch from 2.87dsf-4ubuntu18 can be directly used, as mentioned in Comment #6.
2.4. TEST CASE: call killall5 w/ > 16 -o <pid> options
2.5. Regression severity is mitigated by the fact that this fix is localized to a single command that can be easily tested, and it has been shipping in Ubuntu maverick and Debian squeeze without any proven regressions. #607013 did turn up in my investigation for regressions as a killall5 crash in maverick, but note that it is running the lucid version of sysvinit-utils.
=======
(IMHO, it's really embarrassing that there *still* are those "Who's ever going to need more than 640KB memory" type bugs.)