Re: [systemd-devel] Relationship between cgroup hierarchy and slice names

2022-05-11 Thread Yeongjin Kwon
On Tue, May 10, 2022 at 8:48 AM Lennart Poettering wrote: > But how would it even work? if you say "everything in foo.slice should > now be in bar.slice". but once you say it, these units would be in > bar.slice so the rule doesn't apply anymore... it's messy to use a > property as matching

Re: [systemd-devel] Relationship between cgroup hierarchy and slice names

2022-05-10 Thread Lennart Poettering
On Do, 05.05.22 19:12, Yeongjin Kwon (yeongjink...@gmail.com) wrote: > On Thu, May 5, 2022 at 11:17 AM Lennart Poettering > wrote: > > > > On Do, 05.05.22 10:44, Yeongjin Kwon (yeongjink...@gmail.com) wrote: > > > > > On Wed, May 4, 2022 at 4:03 AM Lennart Poettering > > > wrote: > > > > > > >

Re: [systemd-devel] Relationship between cgroup hierarchy and slice names

2022-05-10 Thread Michal Koutný
Hello. On Tue, May 03, 2022 at 08:16:48PM -0400, Yeongjin Kwon wrote: > I'm trying to override the parent slice of a certain slice unit so I can > reorganize the cgroup hierarchy. I'm wondering is the certain slice or its parent any of the systemd implicit slices

Re: [systemd-devel] Relationship between cgroup hierarchy and slice names

2022-05-05 Thread Yeongjin Kwon
On Thu, May 5, 2022 at 11:17 AM Lennart Poettering wrote: > > On Do, 05.05.22 10:44, Yeongjin Kwon (yeongjink...@gmail.com) wrote: > > > On Wed, May 4, 2022 at 4:03 AM Lennart Poettering > > wrote: > > > > > > The slice names match 1:1 to the position in the cgroup tree, that's > > > where they

Re: [systemd-devel] Relationship between cgroup hierarchy and slice names

2022-05-05 Thread Lennart Poettering
On Do, 05.05.22 10:44, Yeongjin Kwon (yeongjink...@gmail.com) wrote: > On Wed, May 4, 2022 at 4:03 AM Lennart Poettering > wrote: > > > > The slice names match 1:1 to the position in the cgroup tree, that's > > where they were designed. > > > > Basically our rule is: if the object unit types

Re: [systemd-devel] Relationship between cgroup hierarchy and slice names

2022-05-05 Thread Yeongjin Kwon
On Wed, May 4, 2022 at 4:03 AM Lennart Poettering wrote: > > The slice names match 1:1 to the position in the cgroup tree, that's > where they were designed. > > Basically our rule is: if the object unit types encapsulates > already have a file system path as name then we don't allow you to >

Re: [systemd-devel] Relationship between cgroup hierarchy and slice names

2022-05-04 Thread Lennart Poettering
On Di, 03.05.22 20:16, Yeongjin Kwon (yeongjink...@gmail.com) wrote: > Hi, > > I'm trying to override the parent slice of a certain slice unit so I can > reorganize the cgroup hierarchy. I looked into overriding the "Slice" > property to set the containing slice of the unit, but it seems that >

[systemd-devel] Relationship between cgroup hierarchy and slice names

2022-05-03 Thread Yeongjin Kwon
Hi, I'm trying to override the parent slice of a certain slice unit so I can reorganize the cgroup hierarchy. I looked into overriding the "Slice" property to set the containing slice of the unit, but it seems that property does not do anything for slices because the location in the cgroup