Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Dimitri John Ledkov
Some deployments that switch back their modern v2 host to hybrid or v1, are the ones that need to run old workloads that contain old systemd. Said old systemd only has experimental incomplete v2 support that doesn't work with v2-only (the one before current stable magick mount value).

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Daniel Walsh
On 7/19/23 08:59, Neal Gompa wrote: On Wed, Jul 19, 2023 at 8:52 AM Luca Boccassi wrote: On Wed, 19 Jul 2023 at 13:45, Neal Gompa wrote: On Thu, Jul 21, 2022 at 6:15 AM Lennart Poettering wrote: Heya! It's currently a terrible mess having to support both cgroupsv1 and cgroupsv2 in our

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Neal Gompa
On Wed, Jul 19, 2023 at 8:52 AM Luca Boccassi wrote: > > On Wed, 19 Jul 2023 at 13:45, Neal Gompa wrote: > > > > On Thu, Jul 21, 2022 at 6:15 AM Lennart Poettering > > wrote: > > > > > > Heya! > > > > > > It's currently a terrible mess having to support both cgroupsv1 and > > > cgroupsv2 in our

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Luca Boccassi
On Wed, 19 Jul 2023 at 13:45, Neal Gompa wrote: > > On Thu, Jul 21, 2022 at 6:15 AM Lennart Poettering > wrote: > > > > Heya! > > > > It's currently a terrible mess having to support both cgroupsv1 and > > cgroupsv2 in our codebase. > > > > cgroupsv2 first entered the kernel in 2014, i.e.

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Neal Gompa
On Thu, Jul 21, 2022 at 6:15 AM Lennart Poettering wrote: > > Heya! > > It's currently a terrible mess having to support both cgroupsv1 and > cgroupsv2 in our codebase. > > cgroupsv2 first entered the kernel in 2014, i.e. *eight* years ago > (kernel 3.16). We soon intend to raise the baseline for

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Luca Boccassi
On Wed, 19 Jul 2023 at 11:46, Lewis Gaul wrote: > > Hi Luca, > > > All the distributions you quoted above support cgroupv2 to the best of > > my knowledge, it simply has to be enabled at boot. Why isn't that > > sufficient? > > As I said in my previous email: > > > in the case of it being a

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Lewis Gaul
Hi Luca, > All the distributions you quoted above support cgroupv2 to the best of > my knowledge, it simply has to be enabled at boot. Why isn't that > sufficient? As I said in my previous email: > in the case of it being a systemd container on an arbitrary host then a lack of cgroup v1 support

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Luca Boccassi
On Wed, 19 Jul 2023 at 11:30, Lewis Gaul wrote: > > Hi Lennart, all, > > TL;DR: A container making use of cgroup controllers must use the same cgroup > version as the host, and in the case of it being a systemd container on an > arbitrary host then a lack of cgroup v1 support from systemd would

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Lewis Gaul
Hi Lennart, all, TL;DR: A container making use of cgroup controllers must use the same cgroup version as the host, and in the case of it being a systemd container on an arbitrary host then a lack of cgroup v1 support from systemd would place a cgroup v2 requirement on the host, which is an