[Bug 1659846] Re: /usr/bin/sudo:6:kill:main

2017-05-30 Thread Steve Beattie
And in fact this is covered by bug 1565332.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1659846

Title:
  /usr/bin/sudo:6:kill:main

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1659846/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1659846] Re: /usr/bin/sudo:6:kill:main

2017-05-30 Thread Steve Beattie
Durr, wrong copy-pasta, the actual command is:

  $ sudo sh -c 'kill -ABRT $$'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1659846

Title:
  /usr/bin/sudo:6:kill:main

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1659846/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1659846] Re: /usr/bin/sudo:6:kill:main

2017-05-30 Thread Steve Beattie
This is a false positive in sudo. What's happening is that sudo is
taking an error from the program it executed and propagating out to the
calling shell. Thus when a called application aborts (i.e. SIGABRT), it
also triggers an abort for sudo.

To demonstrate:

  $ sudo sh -c 'echo $$'

results in the following in /var/crash:

  $ ls -l /var/crash/
  total 164
  -rw-r- 1 root whoopsie  29122 May 30 15:32 _bin_dash.0.crash
  -rw-r- 1 root whoopsie 133096 May 30 15:32 _usr_bin_sudo.0.crash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1659846

Title:
  /usr/bin/sudo:6:kill:main

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1659846/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs