Remove mount -o bind calls from sandbox init script

pam_namespace now has this built in.
This commit is contained in:
Dan Walsh 2011-06-07 13:58:41 -04:00
parent dc86b007cf
commit 299d98087e
2 changed files with 22 additions and 2 deletions

View File

@ -2029,7 +2029,7 @@ index 0000000..ee97e10
+This manual page was written by
+.I Thomas Liu <tliu@fedoraproject.org>
diff --git a/policycoreutils/sandbox/sandbox.init b/policycoreutils/sandbox/sandbox.init
index ff8b3ef..8508647 100644
index ff8b3ef..66aadfd 100644
--- a/policycoreutils/sandbox/sandbox.init
+++ b/policycoreutils/sandbox/sandbox.init
@@ -10,17 +10,12 @@
@ -2056,6 +2056,22 @@ index ff8b3ef..8508647 100644
#
# Source function library.
@@ -41,15 +36,6 @@ start() {
touch $LOCKFILE
mount --make-rshared / || return $?
- mount --rbind /tmp /tmp || return $?
- mount --rbind /var/tmp /var/tmp || return $?
- mount --make-private /tmp || return $?
- mount --make-private /var/tmp || return $?
- for h in $HOMEDIRS; do
- mount --rbind $h $h || return $?
- mount --make-private $h || return $?
- done
-
return 0
}
diff --git a/policycoreutils/sandbox/sandboxX.sh b/policycoreutils/sandbox/sandboxX.sh
index 8338203..9648100 100644
--- a/policycoreutils/sandbox/sandboxX.sh

View File

@ -7,7 +7,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.0.86
Release: 11%{?dist}
Release: 12%{?dist}
License: GPLv2
Group: System Environment/Base
# Based on git repository with tag 20101221
@ -331,6 +331,10 @@ fi
exit 0
%changelog
* Tue Jun 7 2011 Dan Walsh <dwalsh@redhat.com> 2.0.86-12
- Remove mount -o bind calls from sandbox init script
- pam_namespace now has this built in.
* Tue Jun 7 2011 Dan Walsh <dwalsh@redhat.com> 2.0.86-11
- Pass desktop dpi to sandbox Xephyr window