[systemd-devel] Problem with shutdown and automount units

Harald Hoyer harald at redhat.com
Mon Dec 8 02:54:18 PST 2014

Today I changed the dracut-shutdown.service [1] to do its job on ExecStop,
This was done, to order the action before local-fs.target is stopped. Mainly to
run before boot.automount / boot.mount is stopped.

Works so far, but, if boot was _not_ yet automounted on shutdown, the
boot.automount is blocked to mount in the transition to the shutdown.target.

So, if any ExecStop relies on a path, which is normally automounted, but not
yet used, it fails on execution.


More information about the systemd-devel mailing list