ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #109666
[Bug 716595] Re: Apport hook prompts 3 times for password
Unfortunately, in looking into this it's not easy to fix, at least not
in the apport hook itself.
The code in question is:
report['GdmLog'] = root_collect_file_contents('/var/log/gdm/:0.log')
report['GdmLog1'] = root_collect_file_contents('/var/log/gdm/:0.log.1')
report['GdmLog2'] = root_collect_file_contents('/var/log/gdm/:0.log.2')
Each of the root_collect_file_contents() calls essentially calls and
return root_command_output(['cat', path]). root_command_output() is one
of the stock apport lib routines.
So the question is, why isn't root_command_output() caching the sudo
permission from one call to the next?
** Changed in: xorg (Ubuntu)
Status: New => Triaged
** Changed in: xorg (Ubuntu)
Importance: Undecided => Medium
--
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:
Apport hook prompts 3 times for password
References