[systemd-devel] PATCH: making sure /run/systemd/system is not evincted from unit search path

Frederic Crozat fcrozat at suse.com
Fri Feb 17 05:40:21 PST 2012


This is a follow-up of a issue I raised last August but we didn't fix it
at all and it stayed in limbo until I got it by this issue this week.

Currently, unit search path lists is getting cleaned (where paths
containing no files are removed from the list ) when systemd is
initialized, but before generators are run (and the only time
when /run/systemd/system could be populated is by generators).

After discussing with Lennart and Kay on irc about this issue, it
appears the solution is to defer the unit search list after generators
have been run.

Attached patch implement those fixes.
-- 
Frederic Crozat <fcrozat at suse.com>
SUSE


More information about the systemd-devel mailing list