summaryrefslogtreecommitdiffstats
path: root/config/mount-helper.m4
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2015-05-18 14:30:32 +0000
committerBrian Behlendorf <[email protected]>2015-05-18 16:54:36 -0700
commit01fcbec52d2e808e7122d70218ecf1fbc94ed9b3 (patch)
tree747db2081d319a3454992d36c9e1808b4c751591 /config/mount-helper.m4
parentf467b05a265abcfb8e5a3269f79d08f36a58646a (diff)
The mount helper mount.zfs MUST be in /sbin (not '$sbindir').
Commit 60e9f69 added the --with-mounthelperdir option for Gentoo and in the process accidentally modified the default installation location. For security reasons mount(8) expects it to only be installed under /sbin. Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #3426
Diffstat (limited to 'config/mount-helper.m4')
-rw-r--r--config/mount-helper.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/mount-helper.m4 b/config/mount-helper.m4
index ad494f1e5..0a6c76708 100644
--- a/config/mount-helper.m4
+++ b/config/mount-helper.m4
@@ -2,7 +2,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_MOUNT_HELPER], [
AC_ARG_WITH(mounthelperdir,
AC_HELP_STRING([--with-mounthelperdir=DIR],
[install mount.zfs in dir [[/sbin]]]),
- mounthelperdir=$withval,mounthelperdir=$sbindir)
+ mounthelperdir=$withval,mounthelperdir=/sbin)
AC_SUBST(mounthelperdir)
])