Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: The "part" keyword in the kickstart file accepts an option named "--label". Its purpose is to be able to provide a label to apply to the file system that is created on the partition (see the -L option of tune2fs). Unfortunately, the when one specifies a label using the "--label" option, that label is not actually applied to the file system. It appears as if the "--label" option (and its associated argument) is silently ignored. My expectation is that anaconda should apply the label (my first preference) or it should produce a parsing error sayin that "--label" is an unknown/unsupported option rather than just ignoring the option.
Created attachment 349946 [details] pass the label for existing devices.
Posted to anaconda devel, got ack for 5.5
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Hi folks, this looks like it's been fixed in RHEL5.4 My automated test case uses the following ks.cfg partitioning: clearpart --all --initlabel part /boot --asprimary --fstype="ext3" --size=200 --bytes-per-inode=4096 --label=BOOT part swap --fstype="swap" --recommended --bytes-per-inode=4096 --label=SWAP part / --fstype="ext3" --grow --size=2048 --bytes-per-inode=4096 --label=ROOTPART The result for the root partition is: # tune2fs -l /dev/sdb1 Filesystem volume name: ROOTPART ... skip ... /etc/fstab has LABEL=ROOTPART / ext3 defaults 1 1 and blkid reports: /dev/sdb1: LABEL="ROOTPART" UUID="9b48a783-858d-4bf1-88f9-e15842319c04" TYPE="ext3" What has been fixed exactly?
This works in the current release. See comment #10 and comment #11.
this is the related commit: http://git.fedorahosted.org/git/anaconda.git?p=anaconda.git;a=commitdiff;h=8a025c370f7dbbbc96b3985a64bac8361348045a;hp=480707922b448e691e995659684e34c318c23b4f