Indeed it works when running without $DISPLAY, i. e. apport calls sudo
directly. But it doesn't seem to cache credentials when using gksu, as
this creates new PTYs (to run sudo in) every time.

We could provide a new API root_commands_output to accept a keyname ->
[command list] and slurp in all command outputs in one go. The xorg hook
could then use that.

** Summary changed:

- Apport hook prompts 3 times for password
+ consecutive root_command_output() calls ask for password each time

** Also affects: apport (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  consecutive root_command_output() calls ask for password each time

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

Reply via email to