1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

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 <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3426
This commit is contained in:
Turbo Fredriksson 2015-05-18 14:30:32 +00:00 committed by Brian Behlendorf
parent f467b05a26
commit 01fcbec52d

View File

@ -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)
])