[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2012-02-09 Thread Avi Greenbury
I still get this sort of behaviour - I was asked once for a password for the video data and again for the data for my kernel. This is on 12.04 when Compiz crashed. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu.

Re: [Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2012-02-09 Thread Bryce Harrington
On Thu, Feb 09, 2012 at 06:27:11PM -, Avi Greenbury wrote: I still get this sort of behaviour - I was asked once for a password for the video data and again for the data for my kernel. This is on 12.04 when Compiz crashed. The way apport works, it can't hold onto the root password between

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-17 Thread Bryce Harrington
** Changed in: xorg (Ubuntu) Status: Triaged = Fix Committed -- 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

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-17 Thread Launchpad Bug Tracker
This bug was fixed in the package xorg - 1:7.6~3ubuntu5 --- xorg (1:7.6~3ubuntu5) natty; urgency=low * apport/source_xorg.py: - Add 'locale' information (for keyboards) - Drop 'glxinfo' since it's been demoted to universe (LP: #714784) - Switch to new

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-16 Thread Launchpad Bug Tracker
** Branch linked: lp:apport -- 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 ___ Mailing list:

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-16 Thread Martin Pitt
Fixed upstream. I added a new method def attach_root_command_outputs(report, command_map): '''Execute multiple commands as root and put their outputs into report. command_map is a keyname - 'shell command' dictionary with the commands to run. They are all run through /bin/sh, so you

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-16 Thread Martin Pitt
This patch against the current hook uses the new API. Bryce, as I can't commit to the xorg git, would you mind committing/uploading this yourself? Thanks! ** Patch added: source_xorg.py patch

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-16 Thread Martin Pitt
** Changed in: xorg (Ubuntu) Assignee: Martin Pitt (pitti) = Bryce Harrington (bryce) -- 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

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-16 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 1.18-0ubuntu1 --- apport (1.18-0ubuntu1) natty; urgency=low [ Martin Pitt ] * New upstream release: - Ensure that symptom scripts define a run() function, and don't show them if not. - Do not show symptom scripts which

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-16 Thread Brian Murray
** Tags added: patch -- 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 ___ Mailing list:

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-15 Thread Martin Pitt
So, we can't fix that in sudo or libgksu; with forkpty it's even worse, as a new TTY will be allocated every time. Restoring back to xorg (for updating the hook) and apport (for providing better API). ** Summary changed: - gksu ask for password each time with stdout redirection + Apport hook

Re: [Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-15 Thread Bryce Harrington
On Tue, Feb 15, 2011 at 04:15:18PM -, Martin Pitt wrote: Restoring back to xorg (for updating the hook) and apport (for providing better API). What is your recommendation for how we can work around this in the hook? (Or should I wait for the better API?) -- You received this bug

Re: [Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-15 Thread Martin Pitt
Bryce Harrington [2011-02-15 20:16 -]: What is your recommendation for how we can work around this in the hook? You need to cat all gdm log files at once, and then pick them apart yourself (or just store them in one key). I have to think about how to run multiple programs and store their

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-11 Thread Bryce Harrington
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')

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-11 Thread Bryce Harrington
@Martin, do you have a suggestion for how to better attach three files as separate apport items without incurring three password prompts? -- 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

[Ubuntu-x-swat] [Bug 716595] Re: Apport hook prompts 3 times for password

2011-02-10 Thread Bryce Harrington
-- 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 ___ Mailing list: