systemd subsystem: exists or not exists ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi cgroups folks,

I have very simple question which I was not able to google: is there
such subsystem as systemd?

It is not shown in `lssubsys -am` and `cat /proc/cgroups` but shown in
`cat /proc/self/mountinfo`.


Also in some cases I can see how «systemd» subsystem, If we can call
it so, breaks Rule 2 described in the Red Hat doc:
«Any single subsystem (such as cpu) cannot be attached to more than
one hierarchy if one of those hierarchies has a different subsystem
attached to it already.»

Attached two times, if I understand it correctly:
# cat /proc/self/mountinfo | grep systemd | grep cgroup
26 25 0:23 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime
shared:6 - cgroup cgroup
rw,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
2826 26 0:23 /kubepods/burstable/pod7ffde41a-fa85-4b01-8023-69a4e4b50c55/8842def241fac72cb34fdce90297b632f098289270fa92ec04643837f5748c15
/sys/fs/cgroup/systemd/kubepods/burstable/pod7ffde41a-fa85-4b01-8023-69a4e4b50c55/8842def241fac72cb34fdce90297b632f098289270fa92ec04643837f5748c15
rw,nosuid,nodev,noexec,relatime shared:6 - cgroup cgroup
rw,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd

So, to cocnlude
Q1. Is there such subsystem as systemd?
Q2. Why it’s not shown in one way but shown in another?
Q3. Why I can see it is mounted twice breaking Rule 2?

-- 

Best Regards,
Andrei Enshin





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux