Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 928269

Summary: Warning: 'serial' is deprecated and has been removed.
Product: Red Hat Enterprise Linux 7 Reporter: Jan Stancek <jstancek>
Component: anacondaAssignee: Will Woods <wwoods>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: jburke, mbanas, mkovarik, rvokal
Target Milestone: beta   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 11:44:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Stancek 2013-03-27 09:49:23 UTC
Description of problem:
I'm getting following warning about 'serial' option:
dracut-cmdline[67]: Warning: 'serial' is deprecated and has been removed. 
dracut-cmdline[67]: Warning: To change the console use 'console=' instead. 

which according to https://fedoraproject.org/wiki/Anaconda_Boot_Options is the only way to "Carry over console settings to the installed system"

Version-Release number of selected component (if applicable):
anaconda-18.37.11-13.el7

How reproducible:
100%

Steps to Reproduce:
1. start installation with 'serial'
  
Actual results:
warning

Expected results:
no warning, 'serial' option supported

Additional info:

Comment 2 Chris Lumens 2013-03-27 13:15:53 UTC
The documentation needs to be updated, not the serial option.

Comment 3 Jan Stancek 2013-03-27 13:47:55 UTC
(In reply to comment #2)
> The documentation needs to be updated, not the serial option.

Is there a replacement for serial? For example, we currently have "console=ttyS0,115200 serial" on command line and serial console works during installation and also after first boot (including grub).

Comment 4 Bill Nottingham 2013-03-27 21:09:17 UTC
Just remove 'serial' and you should be fine...

Comment 5 Jan Stancek 2013-03-27 21:49:15 UTC
(In reply to comment #4)
> Just remove 'serial' and you should be fine...

Without 'serial', serial console doesn't work after reboot:

# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.8.0-0.40.el7.x86_64 root=/dev/mapper/rhel_intel--waimeabay--hedt--01-root ro rd.md=0 rd.dm=0 crashkernel=auto rd.luks=0 rd.lvm.lv=rhel_intel-waimeabay-hedt-01/swap vconsole.keymap=us rd.lvm.lv=rhel_intel-waimeabay-hedt-01/root rhgb quiet

# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.md=0 rd.dm=0 $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) rd.luks=0 rd.lvm.lv=rhel_intel-waimeabay-hedt-01/swap vconsole.keymap=us rd.lvm.lv=rhel_intel-waimeabay-hedt-01/root rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_THEME="/boot/grub2/themes/system/theme.txt"

Comment 6 Will Woods 2013-04-11 17:38:37 UTC
(In reply to comment #5)
> Without 'serial', serial console doesn't work after reboot

Confirmed in testing here. Should be fixed in this commit:

  https://git.fedorahosted.org/cgit/anaconda.git/commit/?id=0b64177

From the commit message, here's the intended behavior:

  * "serial" is deprecated and ignored; try "console=ttyS0" instead.
  * If you use "console=XXX" it will be preserved in the installed system.
  * If multiple "console=XXX" args are used, the *last* one is preserved.

Comment 8 Michal Kovarik 2014-02-04 09:40:01 UTC
Verified on anaconda-19.31.50-1, serial option is ignored. "console" is preserved in the installed system.

Comment 9 Ludek Smid 2014-06-13 11:44:57 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.