Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 344338 Details for
Bug 453778
net-fs/autofs - sandbox violation in `mount -s' touching /run/mount
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add --enable-sloppy-mount option to configure
gentoo453778a.patch (text/plain), 1.53 KB, created by
Martin von Gagern
on 2013-04-04 06:11:40 UTC
(
hide
)
Description:
Add --enable-sloppy-mount option to configure
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2013-04-04 06:11:40 UTC
Size:
1.53 KB
patch
obsolete
>Add an option --enable-sloppy-mount or --disable-sloppy-mount to force >or prevent the use of the -s option to mount, thus avoiding the >autodetection. This can be useful in setups where executing mount >might be undesirable, particularly in packaging environments. > >2013-04-04 Martin von Gagern > >References: > * https://bugs.gentoo.org/453778 > >Index: autofs-5.0.7/aclocal.m4 >=================================================================== >--- autofs-5.0.7.orig/aclocal.m4 >+++ autofs-5.0.7/aclocal.m4 >@@ -66,7 +66,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 >- AC_DEFINE(HAVE_SLOPPY_MOUNT, 1, [define if the mount command supports the -s option]) >+ enable_sloppy_mount=yes > AC_MSG_RESULT(yes) > else > AC_MSG_RESULT(no) >Index: autofs-5.0.7/configure.in >=================================================================== >--- autofs-5.0.7.orig/configure.in >+++ autofs-5.0.7/configure.in >@@ -157,7 +157,15 @@ AC_SUBST(sssldir) > # Newer mounts have the -s (sloppy) option to ignore unknown options, > # good for portability > # >-AF_SLOPPY_MOUNT() >+AC_ARG_ENABLE(sloppy-mount, >+[ --enable-sloppy-mount enable the use of the -s option to mount],, >+ enable_sloppy_mount=auto) >+if test x$enable_sloppy_mount = xauto; then >+ AF_SLOPPY_MOUNT() >+fi >+if test x$enable_sloppy_mount = xyes; then >+ AC_DEFINE(HAVE_SLOPPY_MOUNT, 1, [define if the mount command supports the -s option]) >+fi > > # LDAP SASL auth needs libxml and Kerberos > AF_CHECK_LIBXML()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 453778
:
337134
|
340836
| 344338