xorg apport hook shouldn't ask to attach gdm log files if they don't exist

Bug #722914 reported by Philip Muškovac
6
This bug affects 1 person
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/gdm/:0.log.1: No such file or directory
cat: /var/log/gdm/:0.log: No such file or directory
cat: /var/log/gdm/:0.log.2: No such file or directory

***

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
ProcVersionSignature: Ubuntu 2.6.38-4.31-generic 2.6.38-rc5
Uname: Linux 2.6.38-4-generic x86_64
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
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///////wAwrrFAAAAAAAESAQOAIhN46smVnldUkiYPUFQAAAABAQEBAQEBAQEBAQEBAQEBaClASmGEDDBAKjMAWMEQAAAYaClA1GKEDDBAKjMAWMEQAAAYAAAADwCpCTKpCSgWCQAGr1YxAAAA/gBCMTU2UlcwMSBWMSAKAEk=
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
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-4-generic root=UUID=b6c3182e-b122-4ed0-b273-b2c72f037249 ro quiet splash vt.handoff=7 nouveau.noaccel=1
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.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6MET81WW(1.41):bd10/26/2010:svnLENOVO:pn4349W1R:pvrThinkPadT510:rvnLENOVO:rn4349W1R:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4349W1R
dmi.product.version: ThinkPad T510
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1~git20110215.cc1636b6-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu6
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu9
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu4

Related branches

Revision history for this message
Philip Muškovac (yofel) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xorg (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.