[lxc-devel] [PATCH] umount $rootfs/lib on errors as well otherwise system ends up with stalled mounts
S.Çağlar Onur
caglar at 10ur.org
Sat Oct 19 18:11:18 UTC 2013
Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
---
templates/lxc-busybox.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
index cbdaaf3..44f0a45 100644
--- a/templates/lxc-busybox.in
+++ b/templates/lxc-busybox.in
@@ -209,6 +209,7 @@ EOFF
if [ \$? -ne 0 ]; then
echo "Failed to change root password"
+ umount $rootfs/lib
exit 1
fi
--
1.8.3.2
More information about the lxc-devel
mailing list