Comment 27 for bug 35217

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 35217] Re: Unable to login when disk space is exhausted

On Sat, 2008-03-08 at 12:43 +0000, Vincenzo Ciancia wrote:
> Can't the check to mount overflow tmp just be added to gdm each time it
> restarts?

Well, not directly. GDM runs as the gdm user, and so wouldn't have root
permissions. Now, if there were a set uid script that did this, that
could do it.

I guess the question is whether it's worth moving this from an init
script to a patch for GDM with a set uid script that did the mounting.
That way when GDM sees the out of disk space condition, it would then
fix it by doing the mount overflow. I wouldn't see any harm in that,
assuming there was a reasonable security audit.