From: Serge Hallyn Date: Tue, 22 Oct 2013 16:34:46 +0000 (-0500) Subject: lxc-busybox: don't copy temp mounts into mtab X-Git-Tag: lxc-1.0.0.alpha3~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a409fd5167ecdcbf33a64f1cf9202dc051f0dcf;p=thirdparty%2Flxc.git lxc-busybox: don't copy temp mounts into mtab Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber --- diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index cbdaaf3cc..29dc36d60 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -196,7 +196,7 @@ configure_busybox() cat <$CHPASSWD_FILE echo "setting root password to \"root\"" -mount --bind /lib $rootfs/lib +mount -n --bind /lib $rootfs/lib if [ \$? -ne 0 ]; then echo "Failed bind-mounting /lib at $rootfs/lib" exit 1