Re: [systemd-devel] Making /run respect Container Memory Limits

2024-09-23 Thread Lennart Poettering
On Sa, 21.09.24 16:18, Matthew Ife (matt...@ife.onl) wrote: > I have a question regarding a bug and (primarily philosophical) > approach to take to fix the bug. > > Note, I'm not requesting the bug be fixed -- I'm happy to supply any > patches, I am just keen to get some direction on the approach

Re: [systemd-devel] Making /run respect Container Memory Limits

2024-09-23 Thread Matthew Ife
> /run/ is only mounted by systemd if it is not pre-mounted already by > the container manager. We generally assume the container manager does > that (for example systemd-nspawn does it that way), already because > /run/host/ is the mechanism to pass outside info/resources into the > container in

Re: [systemd-devel] Making /run respect Container Memory Limits

2024-09-23 Thread Demi Marie Obenour
On Mon, Sep 23, 2024 at 04:14:58PM +0200, Lennart Poettering wrote: > On Mo, 23.09.24 11:58, Matthew Ife (matt...@ife.onl) wrote: > > > > /run/ is only mounted by systemd if it is not pre-mounted already by > > > the container manager. We generally assume the container manager does > > > that (for

Re: [systemd-devel] Making /run respect Container Memory Limits

2024-09-23 Thread Lennart Poettering
On Mo, 23.09.24 11:58, Matthew Ife (matt...@ife.onl) wrote: > > /run/ is only mounted by systemd if it is not pre-mounted already by > > the container manager. We generally assume the container manager does > > that (for example systemd-nspawn does it that way), already because > > /run/host/ is t

[systemd-devel] Exploring Minimal Systemd in Initramfs for Faster Boot

2024-09-23 Thread Dharma.B
Hi Team, I'm exploring the possibility of splitting the systemd binary to optimize boot time before and after switching to the root filesystem. I’m aware that the systemd binary is quite large and may not fit in the initramfs, but is it feasible to have a minimal version of systemd that can in