return
if self.mount_option:
- cmdline = [self.mountcmd, "-o" ,"bind", "-o", "%s" % \
+ cmdline = [self.mountcmd, "--make-private", "-o" ,"bind", "-o", "%s" % \
self.mount_option, self.src, self.dest]
else:
- cmdline = [self.mountcmd, "-o" ,"bind", self.src, self.dest]
+ cmdline = [self.mountcmd, "--make-private", "-o" ,"bind", self.src, self.dest]
rc, errout = runner.runtool(cmdline, catch=2)
if rc != 0:
raise MountError("Bind-mounting '%s' to '%s' failed: %s" %