[Revisor-users] Question about kickstart scripting and chroot
Jason Grant
expires07 at logular.com
Sun Oct 14 10:06:41 UTC 2007
I'm new to chroot'd environments (and python), and am trying to
understand what can be done (and also what should be avoided) from
within a kickstart %post script. It seems as though the invocation of
these scripts from python uses /var/tmp/revisor as a replacement for my
system's / directory, and so if I invoke passwd,
only /var/tmp/revisor/etc/passwd is manipulated, and the system
environment is not damaged. Is this basically how it works?
The chroot filesystem also mounts /sys, /proc, etc., too, presumably to
feign a real system, but I am not sure if this introduces operations to
be avoided in my scripts.
Explanations appreciated.
Jason.
More information about the Revisor-users
mailing list