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

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



On Sat, Feb 28, 2004 at 02:01:57PM +0100, Tomasz Wegrzanowski wrote:
> On Thu, Feb 26, 2004 at 02:44:37PM -0500, Branden Robinson wrote:
> > .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
> 
> Rant aside, this does not work - the X kills itself on start if
> $HOME/.xsession-errors is linked to /dev/null. And deleting it afterwards
> doesn't make the problem disappear - it can still take arbitrary amounts
> of diskspace, that would be freed only after closing the file - that is,
> killing X.

Hmm, you got me there, I had never actually tried this.

Odd.  Something is trying to seek the file?

> Can you at least fix it to the point that such workaround actually works ?

Well, not until I find out what the problem is.

In the meantime, please try to identify the app that spewed 1.5GB of
noise to stdout or stderr, and file a bug on it.

-- 
G. Branden Robinson                |    There is no housing shortage in
Debian GNU/Linux                   |    Lincoln today -- just a rumor that
branden@debian.org                 |    is put about by people who have
http://people.debian.org/~branden/ |    nowhere to live.    -- G. L. Murfin

Attachment: signature.asc
Description: Digital signature


Reply to: