Bug 53391 - gdm overwrites /var/log/XFree86.0.log
Summary: gdm overwrites /var/log/XFree86.0.log
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: gdm
Version: roswell
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact: Aaron Brown
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2001-09-07 20:13 UTC by Nicholas J Kreucher
Modified: 2007-04-18 16:36 UTC (History)
0 users

Clone Of:
Last Closed: 2001-11-22 03:08:12 UTC

Attachments (Terms of Use)

Description Nicholas J Kreucher 2001-09-07 20:13:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-2.9smp i686)

Description of problem:
when starting X, gdm simply overwrites /var/log/XFree86.0.log and does
not make a backup copy first. this makes it difficult to see why
a previous X session has crashed.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. start gdm
2. exit X or X crashes
3. gdm restarts, old log file containing valiuable debug info is

Actual Results:  /var/log/XFree86.0.log is overwritten

Expected Results:  would be nice if a logrotate like feature was
implimented, perhaps the last 3 or 4 X logs would be saved on gdm startup,
then rotated to /dev/null

Additional info:

Comment 1 Havoc Pennington 2001-10-07 14:50:46 UTC
Agree it would be a good feature. Debugging is currently problematic.

Comment 2 George Lebl 2001-11-22 03:08:06 UTC
Just fixed this in CVS gdm2 so this will be in whenever that comes out
(could be today I haven't decided yet:)

Comment 3 Havoc Pennington 2002-02-11 22:41:57 UTC
We'll catch this shortly by upgrading the gdm in rawhide, if we haven't already.

Note You need to log in before you can comment on or make changes to this bug.