chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a3fe9a
)
tmpfiles: also look in /lib/tmpfiles.d on split /usr systems
author
Lennart Poettering
<lennart@poettering.net>
Fri, 20 Jul 2012 14:24:55 +0000
(16:24 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 20 Jul 2012 14:57:13 +0000
(16:57 +0200)
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.
src/tmpfiles/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles/tmpfiles.c
b/src/tmpfiles/tmpfiles.c
index 7a453dcc2aeddef8bfb9564801f0589c6705dd36..45125b7b946ee7a2bf59d1b11d52739506bce35b 100644
(file)
--- 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
};