From 7a409fd5167ecdcbf33a64f1cf9202dc051f0dcf Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Tue, 22 Oct 2013 11:34:46 -0500 Subject: [PATCH] lxc-busybox: don't copy temp mounts into mtab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber --- templates/lxc-busybox.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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