Comment 28 for bug 35217

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

2008/3/8, Ted Gould <email address hidden>:
>
> 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.
>
>
> --
> Unable to login when disk space is exhausted
> https://bugs.launchpad.net/bugs/35217
> You received this bug notification because you are a direct subscriber
> of the bug.
>

I don't know much about programming but i can imagine that "system" should
keep some disk space or something, "untouchable" by a simple user just for
the login process...