Workaround for slow logouts on ttyN
Hi,
it has been mentioned on this list beginning of this year:
Logging out of one of the text consoles can take a long time
(see bug #226443 in package util-linux). This bug seems not
yet been fixed (I still have this delay with getty).
Meanwhile I have a trivial way to work around this bug by
using mingetty instead of getty on those consoles where
serial support is not needed: 'apt-get mingetty'
Then change the corresponding lines in /etc/inittab :
Replace
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
...
by
1:2345:respawn:/sbin/mingetty --noclear tty1
2:23:respawn:/sbin/mingetty tty2
...
(Option --noclear prevents mingetty from clearing the
screen after logout).
Finally, tell the init-process to reread /etc/inittab
with: 'telinit q'
Now the login prompt appears instantly after a logout.
Bye, Rudolf
--
Rudolf Lohner - Universitaet Karlsruhe (TH)
Rechenzentrum, Zirkel 2, D-76128 Karlsruhe
Phone: +49-721-608-6958, Fax: +49-721-32550
E-Mail: Rudolf.Lohner@rz.uni-karlsruhe.de
http://www.rz.uni-karlsruhe.de/~Rudolf.Lohner
Reply to: