1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

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.
This commit is contained in:
Lennart Poettering 2012-07-20 16:24:55 +02:00
parent 2a3fe9a759
commit 3f2afb2914

View File

@ -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
};