Here are two alternative ways to demonstrate this command line parsing bug: 1. In a bash terminal say: trap "I received an invalid TERM signal" SIGTERM /bin/kill -s TERM -15 Note that bash ignores the TERM unless this trap is present, so the TRAP makes it clear what is going on. 2. In a bash terminal say: /bin/kill -s KILL -15 Bash will die along with other user processes due to SIGKILL and the user will be returned to a login prompt.
Note that 15 here is just a stand-in for any process group. This bug affects all uses of /bin/kill on valid process groups where the process group's first digit is a 1. If the process group's first digit is not a 1 then the first digit will be used as the target of the process group kill. /bin/kill -s TERM -203432 will send TERM to process group 2. Note that the bash built-in does not have this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577297 Title: echo | xargs kill -15 kills running window session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1577297/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs