[systemd-devel] Problem with shutdown and automount units

Harald Hoyer harald at redhat.com
Mon Dec 8 05:21:18 PST 2014


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

Neat, might be a solution to think of.



More information about the systemd-devel mailing list