[systemd-devel] mkosi inside a toolbox container
Lennart Poettering
mzerqung at 0pointer.de
Mon Jul 4 09:04:03 UTC 2022
On Di, 28.06.22 22:01, Ananth Bhaskararaman (antsub at gmail.com) wrote:
> Has anyone had success using mkosi to generate images inside a
> toolbox container? I'm running Fedora 36 Silverblue.
mkosi needs loopback block devices. They are not virtualized for
containers on Linux. That's a kernel issue.
> I keep getting errors related to systemd not booting up as PID 1,
> misc. systemd-networkd errors, and something about a btrfs device scan
> lacking permissions.
>
> I'd love pointers on how to get this working, or hear from people
> who've tried anything similar.
You have to fix the kernel to properly virtualize block devices for
kernels. Good luck!
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list