Bug 506508 - kickstarting the serial console is suboptimal
kickstarting the serial console is suboptimal
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
11
All Linux
low Severity low
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-17 11:15 EDT by Jan "Yenya" Kasprzak
Modified: 2009-08-25 16:23 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-08-25 16:23:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan "Yenya" Kasprzak 2009-06-17 11:15:43 EDT
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 16:23:42 EDT
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.