From: Enrico Scholz Date: Mon, 13 Oct 2003 19:51:18 +0000 (+0000) Subject: use new secure-mount syntax X-Git-Tag: VERSION_0_10~1270 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fdd928b39e7453db43ec624d7d29fd58df5b66a;p=util-vserver.git use new secure-mount syntax git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@91 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/functions b/util-vserver/scripts/functions index 6735f2e..947b4a4 100644 --- a/util-vserver/scripts/functions +++ b/util-vserver/scripts/functions @@ -146,7 +146,7 @@ function _pkgMountRPM _pkgMountBindDir "$RPMETCDIR" /etc/rpm test "$RPMLIBDIR" = "/" || _pkgMountBindDir "$RPMLIBDIR" /usr/lib/rpm - "$_SECURE_MOUNT" "$VDIR" "$RPMSTATEDIR" "$_rpmdb_mntpoint" + "$_SECURE_MOUNT" --chroot "$VDIR" -n --secure --bind "$RPMSTATEDIR" "$_rpmdb_mntpoint" test -z "$WORKAROUND_106057" || mount -n --bind "$RPMSTATEDIR" "$_rpmdb_mntpoint" }