Re: [systemd-devel] Unit shutdown order not always respected

2022-07-01 Thread Lennart Poettering
On Do, 30.06.22 09:46, David Gubler (david.gub...@vshn.net) wrote: > Hi list, > > I have a situation where I need to run a command and wait for its completion > before unmounting a file system (/enc in my case). My problem is that > systemd sometimes waits for the completion of the command, and so

[systemd-devel] Unit shutdown order not always respected

2022-06-30 Thread David Gubler
Hi list, I have a situation where I need to run a command and wait for its completion before unmounting a file system (/enc in my case). My problem is that systemd sometimes waits for the completion of the command, and sometimes doesn't. So the setup is: * /enc is a mounted encrypted (luks)