Version: 0.37.1-1

I can confirm this bug.

cgconfig.conf:

mount {
        cpu = /sys/fs/cgroup;
        cpuacct = /sys/fs/cgroup/cpuacct;
        devices = /sys/fs/cgroup/devices;
        memory = /sys/fs/cgroup/memory;
}
group firefox {
        perm {
                task {
                        uid = root;
                        gid = users;
                }
                admin {
                        uid = root;
                        gid = root;
                }
        }
        memory {
                memory.limit_in_bytes = 750M;
        }
}

Resuling cgroup:

zorba:~# ls -la /sys/fs/cgroup/memory/firefox/
total 0
drwxr-xr-x 2 root root  0 Apr  8 13:47 .
drwxr-xr-x 4 root root  0 Apr  8 13:47 ..
-rw-r--r-- 1 root root  0 Apr  8 13:47 cgroup.clone_children
--w--w--w- 1 root root  0 Apr  8 13:47 cgroup.event_control
-rw-r--r-- 1 root root  0 Apr  8 13:47 cgroup.procs
-rw-r--r-- 1 root root  0 Apr  8 13:47 memory.failcnt
--w------- 1 root root  0 Apr  8 13:47 memory.force_empty
-rw-r--r-- 1 root root  0 Apr  8 13:47 memory.limit_in_bytes
-rw-r--r-- 1 root root  0 Apr  8 13:47 memory.max_usage_in_bytes
-rw-r--r-- 1 root root  0 Apr  8 13:47 memory.move_charge_at_immigrate
-r--r--r-- 1 root root  0 Apr  8 13:47 memory.numa_stat
-rw-r--r-- 1 root root  0 Apr  8 13:47 memory.oom_control
-rw-r--r-- 1 root root  0 Apr  8 13:47 memory.soft_limit_in_bytes
-r--r--r-- 1 root root  0 Apr  8 13:47 memory.stat
-rw-r--r-- 1 root root  0 Apr  8 13:47 memory.swappiness
-r--r--r-- 1 root root  0 Apr  8 13:47 memory.usage_in_bytes
-rw-r--r-- 1 root root  0 Apr  8 13:47 memory.use_hierarchy
-rw-r--r-- 1 root root  0 Apr  8 13:47 notify_on_release
-rw-r--r-- 1 root users 0 Apr  8 13:47 tasks

Seems to me that last line should be:
-rw-rw-r-- 1 root users 0 Apr  8 13:47 tasks



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to