Activity log for bug #1690820

Date Who What changed Old value New value Message
2017-05-15 14:05:21 Radu Duta bug added bug
2017-05-15 15:08:34 Radu Duta description Example where the subprocess 115576 has not been terminated: root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# pkill sleep; ./su test -c 'sleep 9999'& [1] 115575 root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# kill $! root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# ...waiting for child to terminate. pgrep sleep 115576 [1]+ Exit 255 ./su test -c 'sleep 9999' root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# pgrep sleep 115576 Expected behavior: root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# pkill sleep; ./su test -c 'sleep 9999' & [1] 115503 root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# kill $! root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# Session terminated, terminating shell... ...terminated. ...terminated. [1]+ Exit 143 ./su test -c 'sleep 9999' root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# pgrep sleep Problem first appeared in login_4.1.5.1-1ubuntu9.4 and version login_4.1.5.1-1ubuntu9.2 was not affected. Example where the subprocess 115576 has not been terminated: root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# pkill sleep; ./su test -c 'sleep 9999'& [1] 115575 root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# kill $! root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# ...waiting for child to terminate. pgrep sleep 115576 [1]+ Exit 255 ./su test -c 'sleep 9999' root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# pgrep sleep 115576 Expected behavior: root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# pkill sleep; ./su test -c 'sleep 9999' & [1] 115503 root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# kill $! root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# Session terminated, terminating shell... ...terminated.  ...terminated. [1]+ Exit 143 ./su test -c 'sleep 9999' root@ubuntu:~/sudebug/src/shadow-4.1.5.1/src# pgrep sleep
2017-05-15 15:19:01 Marc Deslauriers information type Public Public Security
2017-05-16 23:16:37 Launchpad Janitor shadow (Ubuntu): status New Confirmed
2017-05-17 02:09:59 Seth Arnold shadow (Ubuntu): status Confirmed Fix Released