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 857517 - Anaconda in RHEL 6 does not honor the --fsoptions= with swap partitions
Summary: Anaconda in RHEL 6 does not honor the --fsoptions= with swap partitions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 6.4
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 960065
TreeView+ depends on / blocked
 
Reported: 2012-09-14 17:18 UTC by BJ Walker
Modified: 2018-12-01 18:08 UTC (History)
8 users (show)

Fixed In Version: anaconda-13.21.199-1
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Clone Of:
Environment:
Last Closed: 2013-11-21 09:54:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1588 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2013-11-21 00:40:22 UTC

Description BJ Walker 2012-09-14 17:18:09 UTC
Description of problem:
When trying to install RHEL 6 using a kickstart and specifying any fsoptions="option" into the partitioning section (as seen below), Anaconda is not honoring.  Have tried syntax as specified in documentation however at no point is it copied into /etc/fstab.  We have previously opened a bug for the documentation to add this option: https://bugzilla.redhat.com/show_bug.cgi?id=601977 however I have been able to reproduce (as well as the customer) that at no time is this line honored.

Version-Release number of selected component (if applicable):
anaconda-13.21.176-1.el6_3

How reproducible:
Every time.  I have no been able to have Anaconda copy ANY options from the --fsoptions= line.

Steps to Reproduce:
1. Add a line into any of the partitions to append options into the /etc/fstab
2. Kickstart install any RHEL 6.x system
3. Upon reboot the options for that partition in /etc/fstab are set to defaults
  
Actual results:
Options in /etc/fstab are set to defaults

Expected results:
Options in /etc/fstab are set to the same options as defined by --fsoptions= in the kickstart

Additional info:
Documentation is seen here: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-options.html  however I am unable to get this option to ever work, no matter the syntax I use.  Not sure if it ever worked in RHEL 6, though it does work in RHEL 5.

Comment 2 Brian Lane 2012-09-18 16:42:46 UTC
Please switch to tty2 (ctrl-alt-f2) and attach the logs from /tmp/*log to this bug as individual text/plain files.

Comment 3 David Cantrell 2012-10-16 17:27:47 UTC
Closing as insufficient data as we do not have any log files from the reporter.  If you are able to provide the log files, please attach them as individual plain text files to this bug and reopen it.

Comment 5 BJ Walker 2012-12-10 14:19:19 UTC
Uploaded the requested log files and reopened the bugzilla.  Thanks!

Comment 7 Martin Banas 2013-05-23 07:48:39 UTC
Hi,

I'm not able to reproduce your bug. Could you please attach the kickstart you used? If I use following, it's copied to /etc/fstab then.

ks.cfg:
part / --size=1000 --asprimary
part /usr --size=3200 --asprimary
part /var --size=200 --asprimary --fsoptions='noatime'
part /home --size=200 --asprimary --fsoptions='noatime'

/etc/fstab:
UUID=28989961-48ed-4587-94ac-4f2055e1a7e5 /                       ext4    defaults        1 1
UUID=cbdf9559-3f55-41b6-a123-fbfa75a2f819 /home                   ext4    noatime         1 2
UUID=98851567-9b6d-4e85-8ba1-09a23b0c9bda /usr                    ext4    defaults        1 2
UUID=3724842b-e7ce-4aa5-8d13-b38e9fd1e21d /var                    ext4    noatime         1 2

Comment 8 Jan Stodola 2013-05-23 11:16:54 UTC
Reproduced with following partitioning:

bootloader --location=mbr
zerombr
clearpart --all --initlabel
part /boot --asprimary --size=500 --label=boot
part pv.01 --grow --maxsize=8192 --size=2048
part pv.02 --grow --maxsize=8192 --size=2048
volgroup SNAKEVG --pesize=32768 pv.01 pv.02
logvol swap --fstype=swap --recommended --name=SNAKE_SWAP --vgname=SNAKEVG --fsoptions="pri=10"
logvol / --grow --maxsize=10240 --size=2048 --name=SNAKEROOT --vgname=SNAKEVG

Comment 14 Brian Lane 2013-06-28 21:21:23 UTC
This was limited to swap partitions, normal partitions pick up --fsoptions just fine.

Comment 16 Ľuboš Kardoš 2013-08-28 13:30:51 UTC
Verified on RHEL6.5-20130820.2 anaconda 13.21.203

Comment 18 errata-xmlrpc 2013-11-21 09:54:28 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.

http://rhn.redhat.com/errata/RHBA-2013-1588.html


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