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-X, which is subscribed to xorg in ubuntu. https://bugs.launchpad.net/bugs/716595 Title: consecutive root_command_output() calls ask for password each time _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp