Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 51018 - Installer overwrites any changes to fstab made in the %post section of a kickstart file
Installer overwrites any changes to fstab made in the %post section of a kick...
Product: Red Hat Public Beta
Classification: Retired
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-08-06 12:56 EDT by ajs
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-06 18:41:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ajs 2001-08-06 12:56:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; rv:0.9.1)

Description of problem:
I added some nsf mounts to the end of fstab while in the %post section of
my kickstart file.  When the installer gets to the writeConfiguration
function it stomps on the changes that I made.


How reproducible:

Steps to Reproduce:
Add the following lines to the %post section of your kickstart file:
  cd /mnt/sysimage/  # if you used %post --nochroot
  mkdir nfs
  mkdir nfs/u0
  cd etc
  cp fstab fstab.before
  echo "redwood:/nfs/u0  /nfs/u0     nfs     defaults        1 2" >> fstab
  echo "" >> fstab
  cp fstab fstab.after

Additional info:
Comment 1 Glen Foster 2001-08-06 18:41:12 EDT
We (Red Hat) should try to fix this for the next release.
Comment 2 Jeremy Katz 2001-08-06 21:29:40 EDT
Thanks for the report; fixed in CVS

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