Bug 51018

Summary: Installer overwrites any changes to fstab made in the %post section of a kickstart file
Product: [Retired] Red Hat Public Beta Reporter: ajs <ajsfedora>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: roswell   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-06 22:41:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description ajs 2001-08-06 16:56:19 UTC
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 22:41:12 UTC
We (Red Hat) should try to fix this for the next release.

Comment 2 Jeremy Katz 2001-08-07 01:29:40 UTC
Thanks for the report; fixed in CVS