Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46297 - serial console install borked
Summary: serial console install borked
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: Alpha Linux
: High major
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 14:23 UTC by Richard Henderson
Modified: 2004-08-18 19:03 UTC (History)
2 users (show)

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 Richard Henderson 2004-03-30 14:23:00 UTC
When installing on the graphics console, the cd boots up fine and drops you at
a prompt.  When installing on the serial console, the cd boots up fine, zaps
root's password, and then presents a login prompt.

I see that when doing a graphics console install, you start agetty on ttyS[01];
clearly one of these should be suppressed when it's the console.  Either that
or give root an empty password.

Reproducible: Always
Steps to Reproduce:
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-14 14:10:47 UTC
I would think we should simply have autologon on the serial lines, since you would have to be physically connected to "exploit" it.

Objections?
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-06-13 20:58:29 UTC
tim -
does the initrd handle the serial console goodness? it may be baselayout, but I am not sure. aron, do you have any comments?
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-06-14 08:19:28 UTC
Genkernel just boots the system and outputs to the kernel console [ which can be a visual or serial TTY ] while it's doing that - once it's done it's over to the system, and the kernel.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-18 15:03:17 UTC
Aron, can you take a peek?
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-08-18 19:03:04 UTC
This was fixed a while ago:

* rc-scripts 1.4.5 (08 Apr 2004)
    Patch from Gustavoz to livecd-functions.sh to run bash instead of login on
    serial consoles, necessary due to scrambled root passwords.

Current stable baselayout says:

baselayout-1.9.4-r3.ebuild:SV=1.4.16            # rc-scripts version

So we should be all set for the next round of livecds.  This bug has bitten me in the past too...  :-/