The default /etc/inittab currently does not contain any sample serial console lines. For server type / remote deployments, this is a must. At least if we can provide a couple of commented entries, life would be as easy as uncommenting the appropriate lines to enable the agetty's on the serial ports. Reproducible: Always Steps to Reproduce: 1. do ps and grep for getty, only vc entries are found 2. open /etc/inittab 3. look for agetty lines that use ttyS0 or similar serial dev names Actual Results: No agetty lines exist for the serial ports where one would normally connect a console management device or modem. Expected Results: It should have contained at the very least commented samples of the appropriate entries, so that end users can easily uncomment and get serial console support. An example entry might be: # serial console support # NOTE: you must have serial and and serial console support enabled in your # kernel in order for this to work #s1:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt100 #s2:12345:respawn:/sbin/agetty -L 9600 ttyS1 vt100
currently serial console entries are only added depending on the value of $ARCH ... x86 is not one of those $ARCH's though ... i dont see anything wrong with just putting the entry in for everyone though, especially now that we're moving into the embedded/server world
yes, could we please add them, and provide examples for multiple different gettys?
added this to default inittab: # SERIAL CONSOLES s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100 s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100 again with the 'i hope agriffis/azarah dont kill me for committing' ;)
These should be commented out by default.
true; done