summaryrefslogtreecommitdiff
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-20 16:24:55 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-20 16:57:13 +0200
commit3f2afb29140c1caa97901e5e1cd38865afb19d6e (patch)
tree7cd9c5dbe978b9e42c270e9b28747e05f6ac2fe2 /src/tmpfiles/tmpfiles.c
parent2a3fe9a75951cb085b81569939f6af3ce2eb2b02 (diff)
tmpfiles: also look in /lib/tmpfiles.d on split /usr systems
https://bugs.freedesktop.org/show_bug.cgi?id=38686 I don't think the usecase case in that bug makes much sense, but all the other tools do honour /lib in the search path so we probably should do that here, too.
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 7a453dcc2a..45125b7b94 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -107,6 +107,9 @@ static const char * const conf_file_dirs[] = {
"/run/tmpfiles.d",
"/usr/local/lib/tmpfiles.d",
"/usr/lib/tmpfiles.d",
+#ifdef HAVE_SPLIT_USR
+ "/lib/tmpfiles.d",
+#endif
NULL
};