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 1897657 - Show warning message when deprecated boot argument is used
Summary: Show warning message when deprecated boot argument is used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Jiri Konecny
QA Contact: Release Test Team
Shweta Naresh
URL:
Whiteboard:
Depends On:
Blocks: 1879091 1903942
TreeView+ depends on / blocked
 
Reported: 2020-11-13 17:31 UTC by Jan Stodola
Modified: 2021-11-08 15:23 UTC (History)
5 users (show)

Fixed In Version: anaconda-33.16.4.9-1
Doc Type: Enhancement
Doc Text:
.Warnings for deprecated kernel boot arguments Anaconda boot arguments without the `inst.` prefix (for example, `ks`, `stage2`, `repo` and so on) are deprecated starting RHEL7. These arguments will be removed in the next major RHEL release. With this release, appropriate warning messages are displayed when the boot arguments are used without the `inst` prefix. The warning messages are displayed in `dracut` when booting the installation and also when the installation program is started on a terminal. Following is a sample warning message that is displayed on a terminal: Deprecated boot argument `ks` must be used with the `inst.` prefix. Please use `inst.ks` instead. Anaconda boot arguments without `inst.` prefix have been deprecated and will be removed in a future major release. Following is a sample warning message that is displayed in `dracut`: `ks` has been deprecated. All usage of Anaconda boot arguments without the `inst.` prefix have been deprecated and will be removed in a future major release. Please use `inst.ks` instead.
Clone Of:
Environment:
Last Closed: 2021-05-18 15:47:13 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Stodola 2020-11-13 17:31:11 UTC
Description of problem:
The installer should warn the user when a deprecated anaconda boot argument is used. See warning messages from the current Rawhide as an example:

....
[    5.883298] dracut-cmdline[279]: Warning: 'dns' is deprecated. Using 'nameserver=4.0.9.6' instead.
...
Starting installer, one moment...
16:05:07 Boot argument 'text' is deprecated and will be removed in the future. Please use 'inst.text' instead.
anaconda 34.10-1.fc34 for Fedora Rawhide (pre-release) started.
...

Version-Release number of selected component (if applicable):
RHEL-8.3 GA
anaconda-33.16.3.26-1.el8

How reproducible:
Always

Steps to Reproduce:
1. Start the installation using a deprecated anaconda boot argument (for example "text dns=4.0.9.6")

Actual results:
Lack of warning messages displayed to the user.

Expected results:
Warning messages are printed for deprecated boot arguments, like in the Rawhide example above.

Comment 4 Jiri Konecny 2021-01-25 11:05:17 UTC
PR: https://github.com/rhinstaller/anaconda/pull/3117

Comment 5 Petr Zatko 2021-02-11 10:53:15 UTC
Tested using RHEL-8.4.0-20210210.d.2 with anaconda-33.16.4.11-1.el8 according to comment #0.
The depracated message was clearly described, seting Verified: Tested.

Comment 9 Jiri Konecny 2021-02-16 11:09:38 UTC
Added doc text. Set that as Enhacement because it's not a bug and I think they should be shown in the release notes.

I hope the doc type is correct.

Comment 13 Jiri Konecny 2021-02-18 11:37:42 UTC
Looks great to me. Thanks!

Comment 16 errata-xmlrpc 2021-05-18 15:47:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1844


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