Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61609 - inittab lacks serial console agetty entries
Summary: inittab lacks serial console agetty entries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 02:44 UTC by MKI
Modified: 2012-09-03 11:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MKI 2004-08-25 02:44:37 UTC
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
Comment 1 SpanKY gentoo-dev 2004-08-25 07:48:50 UTC
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
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-25 14:30:10 UTC
yes, could we please add them, and provide examples for multiple different gettys?
Comment 3 SpanKY gentoo-dev 2004-08-26 17:16:08 UTC
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' ;)
Comment 4 Ciaran McCreesh 2004-08-26 17:28:10 UTC
These should be commented out by default.
Comment 5 SpanKY gentoo-dev 2004-08-26 17:33:00 UTC
true; done