Red Hat Bugzilla – Bug 633310
F14 Alpha installs over serial, no securetty entry after install
Last modified: 2010-09-29 10:27:54 EDT
Description of problem:
if I install F14 Alpha (kickstart or interactive) with console set to ttyS0, there is no securetty entry after install. Effectively locking the user out from systems that only have serial console.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. boot into anaconda with console=ttyS0,115200
2. install interactive or with kickstart
3. reboot after install
4. Attempt to log in as root
unable to log in as root. No ttyS0 entry in /etc/securetty
if console=ttyS0,... (115200 or 38400 or 9600 for my boxes) on /proc/cmdline during install, then ttyS0 should end up in /etc/securetty. This used to be the case in previous releases
Just verified, F13 interactive text install over serial ends up with the required securetty entry. F13 on another box that has no serial console does not have a securetty entry (that was was not freshly installed though, if needed I can hunt for a box with VGA in the lab and do a fresh F13 install)
prio to high, severity to medium
(a serial only system will not be usable for users not comfortable with booting into single user mode and fixing securetty by hand)
There was no change in setup default /etc/securetty for a long time - ttyS0 was never in the default securetty from setup package... reassigning to anaconda ...probably the change was there.
Just did another F13 serial install, if after install I boot into rescue from another medium and check /etc/securetty, ttyS0 is not there either. It only gets added when F13 boots first time. This happens by /etc/init/serial.conf from initscripts-9.12-1.fc13.x86_64, on F14 it's owned by initscripts-9.16-2.fc14.x86_64
Adjusting component to udev as it's a udev helper that is supposed to do the work
Updated with yum update
notably udev-161-2.fc14 and initscripts-9.20-1.fc14.x86_64
this fixes the bug. On first boot ttyS0 gets added to /etc/securetty and obviously this makes root login on serial work.
This bug is not showing under F14 Beta. Thanks for the fix.