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 1211559 - clearpart option "--cdl" not written to /root/anaconda-ks.cfg
Summary: clearpart option "--cdl" not written to /root/anaconda-ks.cfg
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.7
Hardware: s390x
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Samantha N. Bueno
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1179586 1217621 1269957 1286535
TreeView+ depends on / blocked
 
Reported: 2015-04-14 10:35 UTC by Jan Stodola
Modified: 2016-05-10 20:44 UTC (History)
1 user (show)

Fixed In Version: anaconda-13.21.240-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:44:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0798 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2016-05-10 22:37:41 UTC

Description Jan Stodola 2015-04-14 10:35:06 UTC
Description of problem:
The installation kickstart contains:

[root@rtt6 ~]# grep clearpart /root/install.ks 
clearpart --all --initlabel --cdl
[root@rtt6 ~]#

After the installation, the clearpart command in /root/anaconda-ks.cfg doesn't have the --cdl option written:

[root@rtt6 ~]# grep clearpart /root/anaconda-ks.cfg 
#clearpart --all --initlabel
[root@rtt6 ~]#

Version-Release number of selected component (if applicable):
anaconda-13.21.233-1.el6

How reproducible:
always

Steps to Reproduce:
1. run kickstart installation with:
"clearpart --all --initlabel --cdl"
in the kickstart
2. check /root/anaconda-ks.cfg when the installation is finished

Actual results:
[root@rtt6 ~]# grep clearpart /root/anaconda-ks.cfg 
#clearpart --all --initlabel
[root@rtt6 ~]#

Expected results:
[root@rtt6 ~]# grep clearpart /root/anaconda-ks.cfg 
#clearpart --all --initlabel --cdl
[root@rtt6 ~]#

Comment 1 Jan Stodola 2015-04-14 10:41:45 UTC
Proposed patch:
https://github.com/rhinstaller/anaconda/pull/70

Comment 2 RHEL Program Management 2015-04-14 13:09:40 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 3 Samantha N. Bueno 2015-04-14 13:57:39 UTC
Not a blocker, so I am moving this over to 6.8 planning. Thanks for the patch.

Comment 5 Samantha N. Bueno 2015-11-10 16:26:17 UTC
(In reply to Jan Stodola from comment #1)
> Proposed patch:
> https://github.com/rhinstaller/anaconda/pull/70

Setting this bug to POST since a patch has already been posted (and approved).

Comment 6 Samantha N. Bueno 2015-12-01 14:23:31 UTC
Thanks for the patch, Jan.

Comment 8 Jan Stodola 2016-02-18 11:55:36 UTC
The --cdl option is present in anaconda-ks.cfg:

[root@rtt4 ~]# grep clearpart /root/anaconda-ks.cfg 
#clearpart --all --initlabel --cdl
[root@rtt4 ~]#

Moving to VERIFIED.

Comment 11 errata-xmlrpc 2016-05-10 20:44:17 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, 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://rhn.redhat.com/errata/RHBA-2016-0798.html


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