From: Frederic Crozat <fcrozat@xxxxxxxx> Some distributions are moving systemd unit files from /lib to /usr/lib, so we need to test both directories. Index: autofs/aclocal.m4 =================================================================== --- autofs.orig/aclocal.m4 +++ autofs/aclocal.m4 @@ -234,7 +234,7 @@ AC_DEFUN([AF_WITH_SYSTEMD], [if test "$withval" = yes; then if test -z "$systemddir"; then AC_MSG_CHECKING([location of the systemd unit files directory]) - for systemd_d in /lib/systemd/system; do + for systemd_d in /usr/lib/systemd/system /lib/systemd/system; do if test -z "$systemddir"; then if test -d "$systemd_d"; then systemddir="$systemd_d" Index: autofs/CHANGELOG =================================================================== --- autofs.orig/CHANGELOG +++ autofs/CHANGELOG @@ -12,6 +12,7 @@ - configure.in: allow cross compilation. - README: update mailing list subscription info. - allow non root user to check status. +- handle new location of systemd. 25/07/2012 autofs-5.0.7 ======================= -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html