Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Lennart Poettering
On Mon, 08.12.14 15:34, Harald Hoyer (harald.ho...@gmail.com) wrote: > On 08.12.2014 15:24, Lennart Poettering wrote: > > On Mon, 08.12.14 11:54, Harald Hoyer (har...@redhat.com) wrote: > > > >> Today I changed the dracut-shutdown.service [1] to do its job on ExecStop, > >> This was done, to orde

Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Harald Hoyer
On 08.12.2014 15:24, Lennart Poettering wrote: > On Mon, 08.12.14 11:54, Harald Hoyer (har...@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

Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Lennart Poettering
On Mon, 08.12.14 11:54, Harald Hoyer (har...@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,

Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Harald Hoyer
On 08.12.2014 14:21, Harald Hoyer wrote: > On 08.12.2014 13:28, Dave Reisner wrote: >> >> On Dec 8, 2014 5:54 AM, "Harald Hoyer" > > wrote: >>> >>> Today I changed the dracut-shutdown.service [1] to do its job on ExecStop, >>> This was done, to order the action before loca

Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Harald Hoyer
On 08.12.2014 13:28, Dave Reisner wrote: > > On Dec 8, 2014 5:54 AM, "Harald Hoyer" > 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 bef

Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Dave Reisner
On Dec 8, 2014 5:54 AM, "Harald Hoyer" 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 _no

[systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Harald Hoyer
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 bloc