summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-04 17:18:38 +0000
committerMike Frysinger <vapier@gentoo.org>2013-05-04 17:18:38 +0000
commitfa3b0c97892d7901c2615cb330631e1e9e347436 (patch)
tree2c8fa8846c7a96b1d4c45dd3ed0d62dd03d0c00d /net-fs/autofs/files
parentMask USE=profile for net-analyzer/wireshark (bug #468404). (diff)
downloadgentoo-2-fa3b0c97892d7901c2615cb330631e1e9e347436.tar.gz
gentoo-2-fa3b0c97892d7901c2615cb330631e1e9e347436.tar.bz2
gentoo-2-fa3b0c97892d7901c2615cb330631e1e9e347436.zip
Disable mount sloppy test since it violates the sandbox #453778 by Konstantin Münning.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'net-fs/autofs/files')
-rw-r--r--net-fs/autofs/files/autofs-5.0.7-mount-sloppy.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-fs/autofs/files/autofs-5.0.7-mount-sloppy.patch b/net-fs/autofs/files/autofs-5.0.7-mount-sloppy.patch
new file mode 100644
index 000000000000..670d9bc7c547
--- /dev/null
+++ b/net-fs/autofs/files/autofs-5.0.7-mount-sloppy.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/453778
+
+we've had a stable util-linux that supports -s for a long time (and the ebuild
+forces a recent version), so disable this test which implicitly tries to modify
+files like /etc/mtab and piss off the sandbox.
+
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -65,7 +65,7 @@
+ AC_DEFUN(AF_SLOPPY_MOUNT,
+ [if test -n "$MOUNT" ; then
+ AC_MSG_CHECKING([if mount accepts the -s option])
+- if "$MOUNT" -s > /dev/null 2>&1 ; then
++ if true > /dev/null 2>&1 ; then
+ AC_DEFINE(HAVE_SLOPPY_MOUNT, 1, [define if the mount command supports the -s option])
+ AC_MSG_RESULT(yes)
+ else