tty consideration

Daniel Lezcano daniel.lezcano at free.fr
Tue Feb 3 09:15:05 PST 2009


Dietmar Maurer wrote:
> Another tty problem arises from the implementation of sysv-init/upstart.
> Let me explain:
>
> sysv-init uses /dev/console (or ENV[CONSOLE]), and randomly close/reopen
> that device.
>
> upstart also uses /dev/console, and also randomly close/reopen that
> device.
>
> So far no problem, until udevd is started. udevd rewrites /dev with
> reasonable defaults.
>
> This has the side effect that your tty handling does no longer work.
>
> Ok, you will argue now that it does not make sense to start udev inside
> a container. While this is true, it is incredible difficult to avoid
> udev startup, because newer distributions have many dependencies on that
> package.
>   
Good catch !



More information about the Containers mailing list