New Xen host. Inittab respawns tty2, tty3, tty4, tty5, tty6 - all consoles which don't really exist on the domU.
Ubuntu doesn't use the inittab entries (maybe it does for some boot processes), but rather a series of files in /etc/event.d to respawn the getty entries.
Without disabling these entries, you'll end up with a /var/log/syslog looking like this:
Mar 27 06:25:12 xmm2 init: tty5 process (8557) terminated with status 1
Mar 27 06:25:12 xmm2 init: tty5 process ended, respawning
Mar 27 06:25:12 xmm2 init: tty4 process (8558) terminated with status 1
Mar 27 06:25:12 xmm2 init: tty4 process ended, respawning
Mar 27 06:25:18 xmm2 init: tty3 process (8617) terminated with status 1
Mar 27 06:25:18 xmm2 init: tty3 process ended, respawning
Mar 27 06:25:19 xmm2 init: tty2 process (8664) terminated with status 1
Mar 27 06:25:19 xmm2 init: tty2 process ended, respawning
Mar 27 06:25:19 xmm2 init: tty6 process (8665) terminated with status 1
Mar 27 06:25:19 xmm2 init: tty6 process ended, respawning
Mar 27 06:25:22 xmm2 init: tty5 process (8691) terminated with status 1
Mar 27 06:25:22 xmm2 init: tty5 process ended, respawning
Mar 27 06:25:23 xmm2 init: tty4 process (8692) terminated with status 1
Mar 27 06:25:23 xmm2 init: tty4 process ended, respawning
Mar 27 06:25:28 xmm2 init: tty3 process (8693) terminated with status 1
Mar 27 06:25:28 xmm2 init: tty3 process ended, respawning
To disable them, remove the files /etc/event.d/tty[2-6] and reboot.
rm /etc/event.d/tty[23456]
(You need to be root to do that, of course.)
Comments
Post new comment