Bug 506508 - kickstarting the serial console is suboptimal
Summary: kickstarting the serial console is suboptimal
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 11
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-17 15:15 UTC by Jan "Yenya" Kasprzak
Modified: 2009-08-25 20:23 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-08-25 20:23:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan "Yenya" Kasprzak 2009-06-17 15:15:43 UTC
Description of problem:
I am trying to prepare a kickstart config for a server with serial console. There are several problems:

A. kickstart.cfg generated by the Fedora DVD installation contained the following line:

bootloader [...] --append="rhgb quiet"

I have edited this to read

bootloader [...] --append="console=ttyS0,115200n8"

but the resulting system based on this kickstart.cfg still had "rhgb quiet" in its kernel line in grub.conf (and in addition it had a correct "console" parameter).

B. There should be a better support for configuring/installing servers with
kickstart and serial console: a way how to remove the "splashimage" and "hiddenmenu" from the grub config, and to add something like

serial --unit=0 --speed=115200
terminal --timeout=5 serial console

to grub.conf.

It can be done in the %post-install script. But in my opinion anaconda should take the defaults from the situation during the installation process, so that adding "console=ttyS0,115200" to the command line of the installation DVD kernel should be sufficient for anaconda to add the correct options to grub.conf.

Steps to Reproduce:
1. take an existing kickstart.cfg file
2. edit the --append="rhgb quiet" line to read --append="console=ttyS0,115200n8"
3. install a new system using this kickstart.cfg
  
Actual results:
"rhgb quiet" still present in the kernel command line in the grub.conf of the newly installed system.

Expected results:
Rhgb and quiet boot should not be used over serial console.

Additional info:
Only "A" is a bug, "B" is a request for enhancement.

Comment 1 Chris Lumens 2009-08-25 20:23:42 UTC
These issues should be fixed in the next build of anaconda.  Thanks for the bug report.


Note You need to log in before you can comment on or make changes to this bug.