How to pick up crash reports owned by system users?

Matt Zimmerman mdz at ubuntu.com
Thu Jan 11 23:50:06 GMT 2007


On Tue, Jan 09, 2007 at 09:35:11AM +0100, Martin Pitt wrote:
>  * Change apport-checkreports to check for the existence of system
>    crash reports if the user is in 'admin', and have apport-gtk gksu
>    itself if there is a system crash report it cannot read. This would
>    be the safe option, but requires some ugly hardcoding of group
>    names and semantics into apport. However, this hardcoding could
>    eventually be moved into the update-notifier apport code (when
>    we'll finally get event-notifier, this will be much cleaner).
> 
> I favor the latter option.

This would be preferable, though perhaps you can use sudo to check whether
the user has the necessary privileges rather than assuming it based on group
membership.

-- 
 - mdz



More information about the ubuntu-devel mailing list