diff --git a/security/util-vserver/mtab_as_symlink.patch b/security/util-vserver/mtab_as_symlink.patch new file mode 100644 index 000000000..6cba782a0 --- /dev/null +++ b/security/util-vserver/mtab_as_symlink.patch @@ -0,0 +1,31 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../util-vserver/mtab_as_symlink.patch +# Copyright (C) 2009 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +Index: scripts/vserver.functions +=================================================================== +--- ./scripts/vserver.functions (revision 2849) ++++ ./scripts/vserver.functions (working copy) +@@ -918,6 +918,10 @@ + # magic regarding the mtab file; when etc/mtab can not be touched, + # add the '-n' flag to mount + test -w etc -o -w etc/mtab || xflag=-n ++ if test -h etc/mtab; then ++ local l=$($_READLINK etc/mtab) ++ test "${l#/proc/}" = "$l" || xflag=-n ++ fi + "$@" $_SECURE_MOUNT -a $xflag --chroot --fstab "$fstab" --rootfs no + popd >/dev/null + } diff --git a/security/util-vserver/util-vserver.desc b/security/util-vserver/util-vserver.desc index c84574016..79113d570 100644 --- a/security/util-vserver/util-vserver.desc +++ b/security/util-vserver/util-vserver.desc @@ -29,14 +29,14 @@ [L] GPL [S] Stable -[V] 0.30.215 +[V] 0.30.216-pre2864 [P] O -?---5---9 190.200 [F] NOPARALLEL DIETLIBC NO-SSP # vserver utilities -[D] 1903976627 util-vserver-0.30.215.tar.bz2 http://ftp.linux-vserver.org/pub/utils/util-vserver/ -#[D] 871601915 util-vserver-0.30.213-rc6.tar.bz2 http://people.linux-vserver.org/~dhozac/t/uv-testing/ +#[D] 1903976627 util-vserver-0.30.215.tar.bz2 http://ftp.linux-vserver.org/pub/utils/util-vserver/ +[D] 217856080 util-vserver-0.30.216-pre2864.tar.bz2 http://people.linux-vserver.org/~dhozac/t/uv-testing/ # and addons [D] 3365204218 cq-tools-0.06.tar.bz2 http://www.13thfloor.at/vserver/s_addons/quota/