[Touch-packages] [Bug 1577297] Re: echo | xargs kill -15 kills running window session

2016-11-18 Thread dann frazier
*** This bug is a duplicate of bug 1637026 *** https://bugs.launchpad.net/bugs/1637026 ** This bug has been marked a duplicate of bug 1637026 kill incorrectly parses negative PIDs -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1577297] Re: echo | xargs kill -15 kills running window session

2016-06-30 Thread David Venz
The above commit was about 2 months ago, and going by the tags in git, 3.3.11 (the latest official release) is 11 months ago. In my view this is a pretty serious bug, and potentially deserving of a distro-level patch in the interim? -- You received this bug notification because you are a

[Touch-packages] [Bug 1577297] Re: echo | xargs kill -15 kills running window session

2016-06-30 Thread David Venz
Looks like it has been fixed upstream already: https://gitlab.com/procps-ng/procps/commit/b42997b6c9c140c0ee1b93c4bbbc0fee38d21238 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to procps in Ubuntu.

[Touch-packages] [Bug 1577297] Re: echo | xargs kill -15 kills running window session

2016-06-30 Thread fuzzyBSc
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

[Touch-packages] [Bug 1577297] Re: echo | xargs kill -15 kills running window session

2016-06-30 Thread David Venz
Please have a look at skill.c kill_main(). It looks like in recent releases, this has switched over to using getopt_long() to process the command-line arguments. And it's treating '-1[anything]' as a kill(-1, ...) which kills *everything* you're permitted to kill except init. If I'm correct,

[Touch-packages] [Bug 1577297] Re: echo | xargs kill -15 kills running window session

2016-05-25 Thread Stephan Steglich
I just tried downgrading procps package from (3.3.10-4ubuntu2) to (3.3.9-1ubuntu8) and this causes the command to do nothing as expected. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to procps in Ubuntu.

[Touch-packages] [Bug 1577297] Re: echo | xargs kill -15 kills running window session

2016-05-25 Thread Stephan Steglich
I just came across this issue when Appium ( https://github.com/appium/appium ) kills my session upon start. After checking out the logs from Appium it tries to clear some potential processes : ps -ef | grep chromedriver_64 | grep -v grep |grep -e '-- port=9515\(\s.*\)\?$' | awk '{ print $2 }' |

[Touch-packages] [Bug 1577297] Re: echo | xargs kill -15 kills running window session

2016-05-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: procps (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to procps in Ubuntu.