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.
DescriptionAlexander Todorov
2011-01-13 13:29:49 UTC
+++ This bug was initially created as a clone of Bug #610740 +++
Created attachment 429015[details]
screenshot of partitioning gone wrong
Description of problem:
When opening a file in s-c-kickstart the partitioning screen shows the current settings. When opening the same or another file this screen will append the new partitioning scheme to already existing one. After several reopenings user ends up with several definitions for the root filesystem. If saved this results in invalid ks.cfg
Version-Release number of selected component (if applicable):
system-config-kickstart-2.8.6.1-1.el6.noarch
How reproducible:
always
Steps to Reproduce:
1. Install system-config-kickstart
2. Uncomment the partitioning lines in your /root/anaconda-ks.cfg
3. Open the file with s-c-kickstart. Observe the partitioning page.
4. Open the same file again. See screenshot.
5. Try opening it for the 3rd time.
Actual results:
The existing partitions are not cleared when opening new file and new ones are appended to the list. This produces invalid ks.cfg if saved. Check with "Preview".
Expected results:
Existing partitions are removed and new ones are added when opening new file (or the same one).
Additional info:
Upon filing this bug I've noticed that s-c-kickstart will not properly display the LVM VG and LVs. Only /boot and the PV are displayed. My ks.cfg has:
bootloader --location=mbr --driveorder=sda --append="console=ttyS0,115200 crashkernel=auto"
clearpart --all --initlabel
part /boot --fstype=ext4 --size=500
part pv.Z6tsRr-yItL-6yIJ-fKFx-ZXd0-virq-eU81WE --grow --size=1
volgroup vg_tyangt2409 --pesize=4096 pv.Z6tsRr-yItL-6yIJ-fKFx-ZXd0-virq-eU81WE
logvol /home --fstype=ext4 --name=lv_home --vgname=vg_tyangt2409 --grow --size=100
logvol / --fstype=ext4 --name=lv_root --vgname=vg_tyangt2409 --grow --size=1024 --maxsize=51200
logvol swap --name=lv_swap --vgname=vg_tyangt2409 --grow --size=1024 --maxsize=10128
Do you want me to open a separate bug for that?
--- Additional comment from pm-rhel on 2010-07-02 14:03:17 EEST ---
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
inclusion.
--- Additional comment from clumens on 2010-08-25 20:48:19 EEST ---
diff --git a/src/partition.py b/src/partition.py
index 575cb8e..ca50bd9 100644
--- a/src/partition.py
+++ b/src/partition.py
@@ -293,10 +293,11 @@ class partition:
self.initlabel_yes_radiobutton.set_active(True)
else:
self.initlabel_no_radiobutton.set_active(True)
-
else:
self.remove_parts_none_radiobutton.set_active(True)
+ self.part_store.clear()
+
for part in self.ks.partition.partitions:
self.partWindow.populateList(part)
--- Additional comment from syeghiay on 2010-09-13 19:10:05 EEST ---
Cleared acks since set before rhel-6.1.0? flag.
--- Additional comment from errata-xmlrpc on 2011-01-06 22:55:10 EET ---
Bug report changed to ON_QA status by Errata System.
A QE request has been submitted for advisory RHBA-2011:10445-01
http://errata.devel.redhat.com/errata/show/10445
--- Additional comment from atodorov on 2011-01-13 15:28:15 EET ---
With system-config-kickstart-2.8.6.3-1.el6.noarch when re-opening the same ks.cfg file again and again the previous partitions are cleared and new ones added. This doesn't cause duplication. Moving to VERIFIED.
Comment 1Alexander Todorov
2011-01-13 13:32:04 UTC
Cloning here for the second issue:
s-c-kickstart will not properly display the LVM VG and LVs. Only /boot and the PV are displayed. My ks.cfg has:
bootloader --location=mbr --driveorder=sda --append="console=ttyS1,19200 crashkernel=auto"
clearpart --all --initlabel
part /boot --fstype=ext4 --size=500
part pv.ktnKda-LSzp-AJee-8wvj-GCBn-FkaN-aRpJvw --grow --size=1
volgroup vg_ibmhs2111 --pesize=4096 pv.ktnKda-LSzp-AJee-8wvj-GCBn-FkaN-aRpJvw
logvol /home --fstype=ext4 --name=lv_home --vgname=vg_ibmhs2111 --grow --size=100
logvol / --fstype=ext4 --name=lv_root --vgname=vg_ibmhs2111 --grow --size=1024 --maxsize=51200
logvol swap --name=lv_swap --vgname=vg_ibmhs2111 --grow --size=2016 --maxsize=4032
If this is opened with s-c-kickstart (i.e. open /root/anaconda-ks.cfg with uncommented partitioning lines) it will only display the /boot and PV partitions definitions. No LVs or VGs are displayed in the UI.
system-config-kickstart simply does not support LVM. So no, we can't get this fixed with the other bugs and it's certainly not appropriate for fasttrack. In fact, I'd go so far as to say this will never get fixed in RHEL6 given the amount of work involved and that I'd prefer to reuse the anaconda storage UI for this, which makes for even more work.
Comment 4RHEL Program Management
2011-01-13 14:35:25 UTC
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.