I can confirm this -- when apport-gtk runs on finding a system crash, it
will also process non-system crashes, resulting in "restart" being done
as root. To reproduce:
sudo echo
sudo sleep 1d &
sudo kill -SEGV $!
*wait for apport icon to appear on toolbar*
gcalctool &
kill -SEGV $!
*click on apport icon, gksudo of apport-gtk launches, enter password*
prompt for restarting gcalctool appears. if you restart, it launches as
root.
Seems like apport-gtk should skip non-system crashes when running as
root and re-exec itself or something with dropped privs for the non-
system crashes.
** Changed in: indicator-applet (Ubuntu)
Assignee: (unassigned) => Martin Pitt (pitti)
--
if non-system application crash processed in same run as system application
crash report, apport re-launches non-system app as root
https://bugs.launchpad.net/bugs/445017
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs