Comment 27 for bug 396226

Revision history for this message
Martin Pitt (pitti) wrote :

I'm going to upload a really nasty workaround, but eventually it would be much better if we used the same dynamic schema for tty allocation everywhere.

Right now, getty is hardcoded at tty1 to 6, while X dynamically determines the next free terminal. As this bug shows, this represents a race condition, and will break if X starts earlier than getty.

It would be much better if the getty invocation would be done to "take the next free tty" instead of a fixed one. Then we wouldn't need any hardcoding at all any more.