Index: rescue.py =================================================================== RCS file: /usr/local/CVS/anaconda/rescue.py,v retrieving revision 1.59.2.5 retrieving revision 1.59.2.6 diff -u -r1.59.2.5 -r1.59.2.6 --- rescue.py 13 Sep 2006 14:06:56 -0000 1.59.2.5 +++ rescue.py 28 Mar 2007 17:34:52 -0000 1.59.2.6 @@ -18,6 +18,7 @@ from snack import * from constants_text import * from text import WaitWindow, OkCancelWindow, ProgressWindow, stepToClasses +from flags import flags import sys import os import isys @@ -368,9 +369,9 @@ isys.mount("/dev", "/mnt/sysimage/dev", bindMount = 1) # and /selinux too - if flags.selinux and os.path.isdir("%s/selinux" %(anaconda.rootPath,)): + if flags.selinux and os.path.isdir("%s/selinux" %(instPath,)): try: - isys.mount("/selinux", "%s/selinux" %(anaconda.rootPath,), + isys.mount("/selinux", "%s/selinux" %(instPath,), "selinuxfs") except Exception, e: log.error("error mounting selinuxfs: %s" %(e,))