Dan Nicholson (dbn.lists(a)gmail.com) said:
Yeah, I realized that later. The writing of /var/spool/gdm/whatever
should be done from /etc/event.d/tty1, since that's the only place you
really know it's appropriate. I changed it so that it only happens on
initial boot to runlevel 5 (`runlevel` = "N 5"). There is still the
problem where getty is not started on tty1 when the display manager is
not gdm. That would require some more smarts between /etc/event.d/tty1
and /etc/event.d/prefdm. But that's no different than the current
situation. I'm confident this can be done correctly, though. Patch
attached.
Doesn't this just create a race between tty1 writing the file
and gdm trying to read it?
Bill