[systemd-devel] Problem with shutdown and automount units

Dave Reisner d at falconindy.com
Mon Dec 8 04:28:19 PST 2014


On Dec 8, 2014 5:54 AM, "Harald Hoyer" <harald at redhat.com> wrote:
>
> 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.

In mkinitcpio, we implemented a feature to build directly into /run, rather
than extracting any existing initramfs.

> So, if any ExecStop relies on a path, which is normally automounted, but
not
> yet used, it fails on execution.
>
> [1]
> <
http://git.kernel.org/cgit/boot/dracut/dracut.git/tree/modules.d/98systemd/dracut-shutdown.service
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141208/61938302/attachment.html>


More information about the systemd-devel mailing list