Bug 38686

Summary: systemd-tmpfiles doesn't check /lib/tmpfiles.d
Product: systemd Reporter: Dan Callaghan <djc>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch
Patch which uses configured prefix

Description Dan Callaghan 2011-06-25 22:33:46 UTC
Created attachment 48424 [details] [review]
Patch

If systemd is configured with --prefix=/ it won't find its own tmpfiles configuration files, because they will be installed in /lib/tmpfiles.d but systemd-tmpfiles does not look there.

I noticed a similar problem with systemd-binfmt also (although I don't use it). The attached patch fixes both.
Comment 1 Dan Callaghan 2011-07-03 00:12:39 UTC
Created attachment 48703 [details] [review]
Patch which uses configured prefix

It was suggested to me that a better solution would be to obey the prefix from autoconf. Here's a new patch to do that.
Comment 2 Lennart Poettering 2012-07-20 14:51:50 UTC
Honestly, I think installing systemd with the prefix of / is a really bad idea.

But anyway, fixed this now to be symmetric to the other tools.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.