Re: [systemd-devel] Running actual systemd-based distribution image in systemd-nspawn

2022-06-30 Thread Lennart Poettering
On Sa, 18.06.22 07:45, Andrei Borzenkov (arvidj...@gmail.com) wrote: > On 16.06.2022 11:27, Colin Guthrie wrote: > > Andrei Borzenkov wrote on 15/06/2022 16:56: > >> I tried it (loop mounting qemu image): > >> > >> systemd-nspawn -D ./hd0 -b > >> > >> and it failed miserably with "Timeout waiting

Re: [systemd-devel] Running actual systemd-based distribution image in systemd-nspawn

2022-06-30 Thread Lennart Poettering
On Do, 16.06.22 09:27, Colin Guthrie (gm...@colin.guthr.ie) wrote: > Andrei Borzenkov wrote on 15/06/2022 16:56: > > I tried it (loop mounting qemu image): > > > > systemd-nspawn -D ./hd0 -b > > > > and it failed miserably with "Timeout waiting for device > > dev-disk-by...". Which is not surprisi

Re: [systemd-devel] Running actual systemd-based distribution image in systemd-nspawn

2022-06-30 Thread Lennart Poettering
On Mi, 15.06.22 18:56, Andrei Borzenkov (arvidj...@gmail.com) wrote: > I tried it (loop mounting qemu image): > > systemd-nspawn -D ./hd0 -b > > and it failed miserably with "Timeout waiting for device > dev-disk-by...". Which is not surprising as there are no device units > inside of container (i

[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)