[systemd-devel] How to correctly use memory controls (MemoryLow) on unified hierarchy system?

2021-05-21 Thread Andrei Borzenkov
systemd offers MemoryLow for an individual units. It actually sets memory.low cgroup attribute, so this is OK. The problem is according to kernel dcouemtation, memory.low is limited by value set in parent cgroup and all parent cgroups have memory.low=0:

Re: [systemd-devel] How to correctly use memory controls (MemoryLow) on unified hierarchy system?

2021-05-21 Thread Benjamin Berg
Hi, On Fri, 2021-05-21 at 15:25 +0300, Andrei Borzenkov wrote: > systemd offers MemoryLow for an individual units. It actually sets > memory.low cgroup attribute, so this is OK. The problem is according to > kernel dcouemtation, memory.low is limited by value set in parent > cgroup and all parent

Re: [systemd-devel] depending on user units

2021-05-21 Thread Andrei Borzenkov
On 21.05.2021 18:18, lejeczek wrote: > Hi guys. > > While surfing the web for answers I thought I would try to call on > experts - how, if possible at all, to make systemd service unit depend > on users' unit/services? > No, it is not possible. Nor is it really possible in reverse direction.

Re: [systemd-devel] How to correctly use memory controls (MemoryLow) on unified hierarchy system?

2021-05-21 Thread Andrei Borzenkov
On 21.05.2021 17:07, Benjamin Berg wrote: > Hi, > > On Fri, 2021-05-21 at 15:25 +0300, Andrei Borzenkov wrote: >> systemd offers MemoryLow for an individual units. It actually sets >> memory.low cgroup attribute, so this is OK. The problem is according to >> kernel dcouemtation, memory.low is

[systemd-devel] depending on user units

2021-05-21 Thread lejeczek
Hi guys. While surfing the web for answers I thought I would try to call on experts - how, if possible at all, to make systemd service unit depend on users' unit/services? many thanks, L. ___ systemd-devel mailing list

Re: [systemd-devel] systemd-run / Failed to create bus connection: Input/output error

2021-05-21 Thread lejeczek
On 03/05/2021 16:04, Lennart Poettering wrote: On Fr, 30.04.21 14:33, lejeczek (pelj...@yahoo.co.uk) wrote: Hi guys. I'm do on my pretty vanilla, so I'd like to think, setup this: -> $ systemd-run --machine=qemu-8-c8kubernode1 /bin/cat /etc/centos-release Failed to create bus connection:

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-21 Thread nerdopolis
On Thursday, May 20, 2021 10:53:24 AM EDT wrote: > On So, 16.05.21 19:41, nerdopolis (bluescreen_avenger at verizon.net) wrote: > > > Hi > > > > I am trying to experiment around replacing the text mode TTYs with usermode > > utilities. > > I don't follow? > I am sorry, I will try to be more