From 01fcbec52d2e808e7122d70218ecf1fbc94ed9b3 Mon Sep 17 00:00:00 2001 From: Turbo Fredriksson Date: Mon, 18 May 2015 14:30:32 +0000 Subject: [PATCH] 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 Signed-off-by: Brian Behlendorf Closes #3426 --- config/mount-helper.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/mount-helper.m4 b/config/mount-helper.m4 index ad494f1e57..0a6c767084 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) ])