os.unlink(f)
# set the initial runlevel
- f = open(RUNDIR + "/utmp", "w")
- vserverimpl.setrunlevel(f, runlevel)
- f.close()
+ vserverimpl.setrunlevel(RUNDIR + "/utmp", runlevel)
# mount /proc and /dev/pts
self.__do_mount("none", self.dir, "/proc", "proc")