return None
def __do_chroot(self):
- self.config.cache_it()
os.chroot(self.dir)
os.chdir("/")
raise ex
def enter(self):
+ self.config.cache_it()
self.__do_chroot()
self.__do_chcontext(None)
if fd != 0:
os.dup2(fd, 0)
os.close(fd)
+ self.config.cache_it()
self.__do_chroot()
log = open("/var/log/boot.log", "w", 0)
if log.fileno() != 1: