[systemd-devel] Ordering of systemd-tmpfiles-setup.service and systemd-modules-load.service

Ian Pilcher arequipeno at gmail.com
Wed Jun 23 17:27:53 UTC 2021


I would like to add a udev rule that creates a symlink to a sysfs
directory, and a subdirectory of /run seem like the right place to put
it.  Of course this means that the subdirectory needs to exist.

The device in question is an "it87" hardware monitoring chip, so the
module doesn't get loaded until systemd-modules-load.service runs.

It looks like systemd-tmpfiles-setup.service is running before
systemd-modules-load.service on my system, but a quick look at the unit
files doesn't seem to show any explicit ordering.

Is there some sort of explicit or implicit ordering that I've missed?

If not, would I break things horribly by adding  such ordering?

Thanks!

-- 
========================================================================
                  In Soviet Russia, Google searches you!
========================================================================



More information about the systemd-devel mailing list