From 6fdd928b39e7453db43ec624d7d29fd58df5b66a Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 13 Oct 2003 19:51:18 +0000 Subject: [PATCH] use new secure-mount syntax git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@91 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } -- 1.8.1.5