Re: Running actual systemd-based distribution image in systemd-nspawn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mi, 15.06.22 18:56, Andrei Borzenkov (arvidjaar@xxxxxxxxx) 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 (it stops in single user allowing me to use sysctl
> -t device).
>
> Is it supposed to work at all? Even if I bind mount /dev/disk it does
> not help as systemd does not care whether device is actually present or not.

Yes, this should just work. I use it daily for work.

Lennart

--
Lennart Poettering, Berlin



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux