xorg apport hook shouldn't ask to attach gdm log files if they don't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xorg
In the case that you don't use GDM as your login manager or didn't have to use failsave X yet /var/log/gdm doesn't exist, so if you get a message like
*** Your gdm log files may help developers diagnose the bug, but may contain sensitive information. Do you want to include these logs in your bug report?
What would you like to do? Your options are:
Y: Yes
N: No
C: Cancel
Please choose (Y/N/C): y
.......
cat: /var/log/
cat: /var/log/
***
when trying to file a bug and unnecesary need to input your password once. The hook should make sure that there is something it can attach before asking the user to attach it.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: x11-common 1:7.6~3ubuntu6
ProcVersionSign
Uname: Linux 2.6.38-4-generic x86_64
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: kwin
DRM.card0.DP.1:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
DRM.card0.DP.2:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
DRM.card0.DP.3:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
DRM.card0.LVDS.1:
status: connected
enabled: enabled
dpms: On
modes: 1600x900 1600x900 1152x864 1024x768 800x600 640x480 720x400 640x400 640x350
edid-base64: AP/////
DRM.card0.VGA.1:
status: disconnected
enabled: disabled
dpms: Off
modes:
edid-base64:
Date: Tue Feb 22 02:23:30 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: kubuntu
DkmsStatus:
tp-smapi, 0.40, 2.6.37-12-generic, x86_64: installed
tp-smapi, 0.40, 2.6.38-2-generic, x86_64: installed
tp-smapi, 0.40, 2.6.38-4-generic, x86_64: installed
tp-smapi, 0.40, 2.6.38-3-generic, x86_64: installed
tp-smapi, 0.40, 2.6.38-1-generic, x86_64: installed
GconfCompiz:
GraphicsCard:
nVidia Corporation GT218 [NVS 3100M] [10de:0a6c] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:215c]
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110124)
MachineType: LENOVO 4349W1R
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=
ProcKernelCmdLine: BOOT_IMAGE=
Renderer: Unknown
SourcePackage: xorg
dmi.bios.date: 10/26/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6MET81WW (1.41 )
dmi.board.name: 4349W1R
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 4349W1R
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.
version.
version.
version.
version.
This bug was fixed in the package xorg - 1:7.6~3ubuntu11
---------------
xorg (1:7.6~3ubuntu11) natty; urgency=low
* apport/ source_ xorg.py:
- Fix typo in nvidia data collection
- Only collect gdm logs if gdm appears to be present, so as not to
cause "file not found" errors when it isn't.
(LP: #722914)
-- Bryce Harrington <email address hidden> Wed, 02 Mar 2011 10:56:02 -0800