[X2Go-Commits] [x2gothinclient] 02/02: also use lazy unmounts in x2gothinclient_shell...
git-admin at x2go.org
git-admin at x2go.org
Fri Aug 29 15:08:10 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gothinclient.
commit 2a7d0c45490fccc928ff5c8e1b9c94ac7880b1e9
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Aug 29 15:08:06 2014 +0200
also use lazy unmounts in x2gothinclient_shell...
---
debian/changelog | 2 +-
management/sbin/x2gothinclient_create | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 613a251..d9c736c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,7 +15,7 @@ x2gothinclient (1.5.0.0-0x2go1) UNRELEASED; urgency=low
the test command.
- Init scripts: Provide status option.
- Use lazy unmounts for unmounting bind-mounted /proc, /sys, /dev/pts
- after exiting the TCE chroot (x2gothinclient_shell,
+ after exiting the TCE chroot (x2gothinclient_create, x2gothinclient_shell,
x2gothinclient_upgrade).
- Assure that a tmpfs under <chroot>/root gets mounted and cleanly
unmounted (x2gothinclient_shell, x2gothinclient_upgrade).
diff --git a/management/sbin/x2gothinclient_create b/management/sbin/x2gothinclient_create
index ef9fb7b..09099e4 100755
--- a/management/sbin/x2gothinclient_create
+++ b/management/sbin/x2gothinclient_create
@@ -263,7 +263,7 @@ chroot $TC_CHROOT /x2go_tce_install.sh
for mountpoint in proc dev/pts sys; do
while true; do
- cat /proc/mounts | grep "$TC_CHROOT/$mountpoint" >/dev/null && umount "$TC_CHROOT/$mountpoint" || break
+ cat /proc/mounts | grep "$TC_CHROOT/$mountpoint" >/dev/null && umount -l "$TC_CHROOT/$mountpoint" || break
done
done
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git
More information about the x2go-commits
mailing list