The patch libcgroup-0.37-pam_cgroup.patch in libcgroup-0.40.rc1-5.el6.src.rpm passes the flag CGFLAG_USECACHE to cgroup_change_cgroup_uid_gid_flags. However nothing ever makes the cgroup library fill the cache from /etc/cgrules.conf so the rules in are /etc/cgrules.conf are never read or applied. If I replace CGFLAG_USECACHE with 0, /etc/cgrules.conf is correctly read and the rules applied.
↧