Re: [systemd-devel] mkosi inside a toolbox container

2022-07-04 Thread Ananth Bhaskararaman
> > I'd love pointers on how to get this working, or hear from people
> > who've tried anything similar.
Anyone else using Fedora Silverblue as a systemd dev machine?
Did you just layer the required packages? Is there a better way?

> You have to fix the kernel to properly virtualize block devices for
> kernels. Good luck!
Aw shucks!

-- 
Ananth Bhaskararaman 


signature.asc
Description: This is a digitally signed message part


Re: [systemd-devel] mkosi inside a toolbox container

2022-07-04 Thread Lennart Poettering
On Di, 28.06.22 22:01, Ananth Bhaskararaman (ant...@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


[systemd-devel] mkosi inside a toolbox container

2022-06-28 Thread Ananth Bhaskararaman
Has anyone had success using mkosi to generate images inside a
toolbox container? I'm running Fedora 36 Silverblue.

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.

--
Ananth