Bug#234788: Major data loss because of .xsession-errors
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,
Can you at least fix it to the point that such workaround actually works ?