Package: cgroup-tools Version: 0.41-7 Severity: normal Thank you for packaging/maintaining cgroup-tools.
I have been playing with it and noticed that user created (sub) cgroups are not being deleted. I get the following error: rrs@learner:~$ cgdelete -g rrs_customCG:/pstree cgdelete: cannot remove group '/pstree': Cgroup one of the needed subsystems is not mounted 2015-10-21 / 11:27:41 ♒♒♒ ☹ => 84 In this example, the base cgroup, rrs_customCG, was created with command: sudo cgcreate -a $USER -g memory,cpu,blkio:$CGNAME; Ideally, the first command to delete the sub-cgroup, should work because I have the right privileges. rrs@learner:/sys/fs/cgroup/memory$ ls -l total 0 -rw-r--r-- 1 root root 0 Oct 21 10:58 cgroup.clone_children --w--w--w- 1 root root 0 Oct 21 10:58 cgroup.event_control -rw-r--r-- 1 root root 0 Oct 21 10:48 cgroup.procs -r--r--r-- 1 root root 0 Oct 21 10:58 cgroup.sane_behavior -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.failcnt --w------- 1 root root 0 Oct 21 10:58 memory.force_empty -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.failcnt -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.limit_in_bytes -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.max_usage_in_bytes -r--r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.slabinfo -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.tcp.failcnt -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.tcp.limit_in_bytes -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.tcp.max_usage_in_bytes -r--r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.tcp.usage_in_bytes -r--r--r-- 1 root root 0 Oct 21 10:58 memory.kmem.usage_in_bytes -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.limit_in_bytes -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.max_usage_in_bytes -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.memsw.failcnt -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.memsw.limit_in_bytes -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.memsw.max_usage_in_bytes -r--r--r-- 1 root root 0 Oct 21 10:58 memory.memsw.usage_in_bytes -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.move_charge_at_immigrate -r--r--r-- 1 root root 0 Oct 21 10:58 memory.numa_stat -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.oom_control ---------- 1 root root 0 Oct 21 10:58 memory.pressure_level -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.soft_limit_in_bytes -r--r--r-- 1 root root 0 Oct 21 10:58 memory.stat -rw-r--r-- 1 root root 0 Oct 21 10:58 memory.swappiness -r--r--r-- 1 root root 0 Oct 21 10:58 memory.usage_in_bytes -rw-r--r-- 1 root root 0 Oct 21 10:48 memory.use_hierarchy -rw-r--r-- 1 root root 0 Oct 21 10:58 notify_on_release -rw-r--r-- 1 root root 0 Oct 21 10:58 release_agent drwxr-xr-x 4 rrs root 0 Oct 21 11:06 rrs_customCG/ -rw-r--r-- 1 root root 0 Oct 21 10:58 tasks 2015-10-21 / 11:10:49 ♒♒♒ ☺ rrs@learner:/sys/fs/cgroup/memory$ ls -l rrs_customCG/ total 0 -rw-r--r-- 1 rrs root 0 Oct 21 10:58 cgroup.clone_children --w--w--w- 1 rrs root 0 Oct 21 10:58 cgroup.event_control -rw-r--r-- 1 rrs root 0 Oct 21 10:58 cgroup.procs drwxr-xr-x 2 rrs rrs 0 Oct 21 10:58 dd/ -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.failcnt --w------- 1 rrs root 0 Oct 21 10:58 memory.force_empty -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.failcnt -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.limit_in_bytes -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.max_usage_in_bytes -r--r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.slabinfo -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.tcp.failcnt -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.tcp.limit_in_bytes -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.tcp.max_usage_in_bytes -r--r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.tcp.usage_in_bytes -r--r--r-- 1 rrs root 0 Oct 21 10:58 memory.kmem.usage_in_bytes -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.limit_in_bytes -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.max_usage_in_bytes -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.memsw.failcnt -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.memsw.limit_in_bytes -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.memsw.max_usage_in_bytes -r--r--r-- 1 rrs root 0 Oct 21 10:58 memory.memsw.usage_in_bytes -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.move_charge_at_immigrate -r--r--r-- 1 rrs root 0 Oct 21 10:58 memory.numa_stat -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.oom_control ---------- 1 rrs root 0 Oct 21 10:58 memory.pressure_level -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.soft_limit_in_bytes -r--r--r-- 1 rrs root 0 Oct 21 10:58 memory.stat -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.swappiness -r--r--r-- 1 rrs root 0 Oct 21 10:58 memory.usage_in_bytes -rw-r--r-- 1 rrs root 0 Oct 21 10:58 memory.use_hierarchy -rw-r--r-- 1 rrs root 0 Oct 21 10:58 notify_on_release drwxr-xr-x 2 rrs rrs 0 Oct 21 11:06 pstree/ -rw-r--r-- 1 root root 0 Oct 21 10:58 tasks 2015-10-21 / 11:33:21 ♒♒♒ ☺ -- Package-specific info: -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.3+ (SMP w/4 CPU cores) Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages cgroup-tools depends on: ii libc6 2.19-22 ii libcgroup1 0.41-7 cgroup-tools recommends no packages. cgroup-tools suggests no packages. -- no debconf information