[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#234788: Major data loss because of .xsession-errors



severity 234788 wishlist
retitle 234788 xfree86: change design of Unix I/O stream handling
tag 234788 + wontfix
thanks

On Wed, Feb 25, 2004 at 09:00:12PM +0100, Tomasz Wegrzanowski wrote:
> Package: xserver-xfree86
> Version: 4.3.0-2
> Severity: critical
> 
> Today .xsession-errors grew over 1.5 gigabyte, filling all free space on /home
> partition. Because of that, other programs couldn't save their data, and
> some very important data was lost. It's not the first time I lost data because
> of sudden explossion of .xsession-errors, so I'm filling a bug report with
> this severity.
> 
> I have no idea which program caused so many errors. At the moment it's just 5kB.
> But that's not really relevant. The problem is that the .xsession-errors is
> misdesigned and must be fixed - I don't care how - by setting reasonable limits
> on its size, limiting kind of errors that have to be logged, removing it altogether,
> or some other way. But the current situation is not acceptable.

Hi,

.xsession-error's "design" is simple.  It is a Unix file to which the
Unix standard output and standard error streams get redirected.

I am probably not qualified to architect a replacement for something as
venerable as Unix file I/O; I suggest you get in touch with Ken Thompson
and Dennis Ritchie.

In the meantime, I have a workaround to recommend:

$ ln -sf /dev/null $HOME/.xsession-errors

Thank you for your report, and if you should happen to visit Dennis or
Ken, don't forget to get their autographs.

-- 
G. Branden Robinson                |    To Republicans, limited government
Debian GNU/Linux                   |    means not assisting people they
branden@debian.org                 |    would sooner see shoveled into mass
http://people.debian.org/~branden/ |    graves.          -- Kenneth R. Kahn

Attachment: signature.asc
Description: Digital signature


Reply to: