Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 372399

Summary: sys-apps/sysvinit: inittab agetty port/baud options swapped
Product: Gentoo Linux Reporter: Tony Murray <tonymurray>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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