Bug 8018

Summary: No local and remote filesystem access during kickstart %post installation
Product: [Retired] Red Hat Linux Reporter: dbelliz
Component: installerAssignee: Jay Turner <jturner>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-10 02:59:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
Kickstart config file none

Description dbelliz 1999-12-27 22:48:06 UTC
Why is it I am not able to access previouly mounted file systems (local and
nfs) during the %post phase of a kick start installation?
The 2nd virtual terminal's bash prompt (alt + F2) has access to these file
systems during the entire install. Any reference to /mnt/source and
/mnt/sysimage fail during the %post phase but work great in the 2nd virtual
terminal. What is required for me to access these file systems?

Comment 1 Riley H Williams 1999-12-28 18:39:59 UTC
Does the %post phase have the same root directory or has a chroot occurred?

Comment 2 dbelliz 1999-12-28 19:12:59 UTC
Created attachment 47 [details]
Kickstart config file

Comment 3 dbelliz 1999-12-28 19:13:59 UTC
If a chroot has occurred It has happened unbeknownst to me. Here is my ks.cfg

Comment 4 Matt Domsch 2000-01-27 22:08:59 UTC
%post happens in a chrooted environment, chroot /mnt/sysimage I believe.  Your
system is now found at /.

If you need a non-chrooted environment for %post (but be careful!), use
%post --nochroot

Comment 5 dbelliz 2000-01-30 18:53:59 UTC
Thank You,
My instructor Dax has also set me straight on this. It would be nice if this was
in the docs though.

Comment 6 Jay Turner 2000-02-10 02:59:59 UTC
The kickstart process will actually be documented quite well in the next
release, so look forward to that.