Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372399 - sys-apps/sysvinit: inittab agetty port/baud options swapped
Summary: sys-apps/sysvinit: inittab agetty port/baud options swapped
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 19:28 UTC by Tony Murray
Modified: 2011-06-29 19:50 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 Tony Murray 2011-06-20 19:28:02 UTC
The command line options for agetty in /etc/inittab seem to be out of order.  I noticed this when trying to get a serial console working.

The man page for agetty says it should be "agetty port baud_rate,...  [term]".

In the inittab file the baud_rate is before the port. "/sbin/agetty 9600 ttyS0 vt100"

It should be "/sbin/agetty ttyS0 9600 vt100"

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-06-29 19:50:44 UTC
both work fine.  from the agetty source:
    /* Accept "tty", "baudrate tty", and "tty baudrate". */

considering this is how many people have invoked it over many years, i'd rather not change something that is working fine