[systemd-devel] Where did DefaultControllers= option go?

Umut Tezduyar umut at tezduyar.com
Tue Oct 29 16:17:03 CET 2013


Hi,

I have noticed DefaultControllers= option is no longer in system.conf
file. Has it been moved to somewhere else or are all controllers
default controllers by default?

If all the controllers are default controllers then something is
weird. I have both cpu and cpuacct controllers (and they are joined by
systemd) but they don't have system.slice in it (basically they are
not mirrored). What could it be?

Kernel: 3.10

Impact, systemd-cgtop doesn't work, cpu resource allocation doesn't work, etc.


ls -al /sys/fs/cgroup/cpu,cpuacct/
-rw-r--r--    1 root     root             0 Feb  1 01:15 cgroup.clone_children
--w--w--w-    1 root     root             0 Feb  1 01:15 cgroup.event_control
-rw-r--r--    1 root     root             0 Feb  1 01:29 cgroup.procs
-r--r--r--    1 root     root             0 Feb  1 01:15 cgroup.sane_behavior
-rw-r--r--    1 root     root             0 Feb  1 01:15 cpu.shares
-r--r--r--    1 root     root             0 Feb  1 01:15 cpuacct.stat
-rw-r--r--    1 root     root             0 Feb  1 01:15 cpuacct.usage
-r--r--r--    1 root     root             0 Feb  1 01:15 cpuacct.usage_percpu
-rw-r--r--    1 root     root             0 Feb  1 01:15 notify_on_release
-rw-r--r--    1 root     root             0 Feb  1 01:15 release_agent
-rw-r--r--    1 root     root             0 Feb  1 01:15 tasks

ls -al /sys/fs/cgroup/systemd/
-rw-r--r--    1 root     root             0 Feb  1 01:15 cgroup.clone_children
--w--w--w-    1 root     root             0 Feb  1 01:15 cgroup.event_control
-rw-r--r--    1 root     root             0 Feb  1 01:15 cgroup.procs
-r--r--r--    1 root     root             0 Feb  1 01:15 cgroup.sane_behavior
-rw-r--r--    1 root     root             0 Feb  1 01:15 notify_on_release
-rw-r--r--    1 root     root             0 Feb  1 01:15 release_agent
drwxr-xr-x   54 root     root             0 Feb  1 01:17 system.slice
-rw-r--r--    1 root     root             0 Feb  1 01:15 tasks

Note, I have checked it on arch with latest systemd and it is not
mirrored there either.


More information about the systemd-devel mailing list