From: Lennart Poettering Date: Fri, 20 Jul 2012 14:24:55 +0000 (+0200) Subject: tmpfiles: also look in /lib/tmpfiles.d on split /usr systems X-Git-Tag: v188~112 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=3f2afb29140c1caa97901e5e1cd38865afb19d6e 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. --- diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 7a453dcc2..45125b7b9 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 };