Bug 590755 - 'system-config-kickstart --generate ' is not capturing the current partition information of the system
Summary: 'system-config-kickstart --generate ' is not capturing the current partition ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-kickstart
Version: 5.5
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Chris Lumens
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-10 15:50 UTC by Jeff Bastian
Modified: 2018-10-27 13:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-10 16:56:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Bastian 2010-05-10 15:50:17 UTC
Description of problem:
'system-config-kickstart --generate' creates a kickstart file based on the current system.  It correctly captures packages, root password, locale data and more, however, the disk partitioning section is very generic:
   # Clear the Master Boot Record
   zerombr
   # Partition clearing information
   clearpart --linux

Version-Release number of selected component (if applicable):
system-config-kickstart-2.6.19.8-2.el5.noarch

How reproducible:
every time

Steps to Reproduce:
1. system-config-kickstart --generate /tmp/ks.cfg
  
Actual results:
no partition commands in /tmp/ks.cfg

Expected results:
partition commands based on system profile

Additional info:
From examining /usr/share/system-config-kickstart/profileSystem.py I can see that it queries the system for locale, timezone, root password, etc:
        self.getLang()
        self.getKeyboard()
        self.getTimezone()
        self.getRootPassword()
        self.getSELinux()
        self.getPackages()

But for the disk partitioning, it's just sets some defaults:
        self.kickstartData.zerombr = True
        self.kickstartData.clearpart["type"] = CLEARPART_TYPE_LINUX

Comment 1 Chris Lumens 2010-05-10 16:06:14 UTC
Yeah, this is known.  system-config-kickstart's partitioning support is pretty lacking.  For instance, it doesn't even support LVM.  Since we don't even have support for better profiling in rawhide or RHEL6, there's no code I can use to backport so it's highly unlikely I'm going to be able to fix this.

Comment 2 RHEL Program Management 2010-05-10 16:56:29 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


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