Use system directory for system-wide udev rules by default
authorIkey Doherty <michael.i.doherty@intel.com>
Fri, 22 May 2015 12:53:25 +0000 (13:53 +0100)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 26 May 2015 14:05:54 +0000 (16:05 +0200)
This ensures that fuse functions correctly on stateless operating systems
without requiring use of the site configuration directory (/etc/).

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
ChangeLog
configure.ac

index c2601ce92a60d3d2236ad675f16487cf515c5463..ff0d1b23ff6acf1b629cb79928705d603c6838c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-05-26  Miklos Szeredi <miklos@szeredi.hu>
+
+       * 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 <miklos@szeredi.hu>
 
        * libfuse: fix exec environment for mount and umount.  Found by
index 14d64b62a3188bff80693307cddfba45c9d29de6..513c4344319144f6c5e6c6e0e9ceafe1e68831c6 100644 (file)
@@ -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)