From c72a4b1571dfab16bfc3589420b3e2af829f3437 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Fri, 22 May 2015 13:53:25 +0100 Subject: [PATCH] Use system directory for system-wide udev rules by default This ensures that fuse functions correctly on stateless operating systems without requiring use of the site configuration directory (/etc/). Signed-off-by: Ikey Doherty --- ChangeLog | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c2601ce..ff0d1b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2015-05-26 Miklos Szeredi + + * Use system directory for system-wide udev rules by default. This + ensures that fuse functions correctly on stateless operating + systems without requiring use of the site configuration directory + (/etc/). Patch by Ikey Doherty + 2015-05-22 Miklos Szeredi * libfuse: fix exec environment for mount and umount. Found by diff --git a/configure.ac b/configure.ac index 14d64b6..513c434 100644 --- a/configure.ac +++ b/configure.ac @@ -86,7 +86,7 @@ if test -z "$MOUNT_FUSE_PATH"; then fi AC_SUBST(MOUNT_FUSE_PATH) if test -z "$UDEV_RULES_PATH"; then - UDEV_RULES_PATH=/etc/udev/rules.d + UDEV_RULES_PATH="${prefix}/lib/udev/rules.d" AC_MSG_NOTICE([UDEV_RULES_PATH env var not set, using default $UDEV_RULES_PATH]) fi AC_SUBST(UDEV_RULES_PATH) -- 2.30.2