Re: [systemd-devel] Put some users to a different slice?

2024-07-31 Thread Michal Koutný
On Wed, Jun 26, 2024 at 05:05:38PM GMT, Lennart Poettering wrote: > This is not as easy to support, I thought this would be as "simple" as adding a slice property into user record [1] nowadays. > because currently the hierarchy carries meaning, i.e. to determine if > something belongs to user s

Re: [systemd-devel] systemd accepts fix to stable releases

2024-07-31 Thread Michal Koutný
Hello. On Mon, Jul 22, 2024 at 12:41:18PM GMT, "Rajmohan. R" wrote: > Asking on doubtful that, whether fix will be accepted in systemd-stable (for > instance, version 255.4) release branch. That depends what the fix is (how "stable"), generally, refer to the docs here https://systemd.io/BACKPO

Re: [systemd-devel] machinectl and systemd-nspawn - Settting the CPUQuota from command line

2024-07-31 Thread Michal Koutný
Hello. On Wed, Jul 31, 2024 at 10:43:52AM GMT, Joel GUITTET wrote: > I used slice files in /etc/systemd/system/ to set some CPUQuota and MemoryMax > options to some systemd-containers. Works fine. > > Is it possible to define these options from machinectl / systemd-nspawn > command line direc

[systemd-devel] machinectl and systemd-nspawn - Settting the CPUQuota from command line

2024-07-31 Thread Joel GUITTET
Hello, I used slice files in /etc/systemd/system/ to set some CPUQuota and MemoryMax options to some systemd-containers. Works fine. Is it possible to define these options from machinectl / systemd-nspawn command line directly without using the slice file ? As an alternative is it possible to s

Re: [systemd-devel] [EXT] Re: Re: "OnUnitInactiveSec Timer not firing" issue

2024-07-31 Thread Andrei Borzenkov
On Wed, Jul 31, 2024 at 9:30 AM Windl, Ulrich wrote: > > > > > -Original Message- > > From: Andrei Borzenkov > > Sent: Tuesday, July 30, 2024 4:12 PM > > To: Windl, Ulrich > > Cc: Mantas Mikulėnas ; systemd- > > de...@lists.freedesktop.org > > Subject: [EXT] Re: Re: [systemd-devel] "OnUn

Re: [systemd-devel] [EXT] Re: Re: "OnUnitInactiveSec Timer not firing" issue

2024-07-31 Thread Michael Chapman
On Wed, 31 Jul 2024, Windl, Ulrich wrote: [...] > You wrote "... starting the service manually (or "enabling" it, to be > started on boot) would be redundant.", but you also wrote " > OnUnitInactiveSec begins counting when service gets stopped. How is this > timer supposed to start a service tha