[Users] Openvz 7 cgroup problem in Centos 8 container

Peter Schultze petersch at CS.UCLA.EDU
Fri Jun 19 00:32:08 MSK 2020


Hello,

in a Centos 8 container installed from the template 
centos-8-x86_64-ez-7.0.0-6.vz7
and configured as an NIS client:

user login by ssh is delayed by 15 to 30 seconds and accompanied by the 
following error messages:

systemd[797]: Failed to create 
/user.slice/user-10042.slice/user at 10042.service/init.scope control group: 
Permission denied
systemd[797]: Failed to allocate manager object: Permission denied

This appears to be related to the fact that /sys/fs/cgroup/user.slice does not 
exist and /sys/fs/cgroup is mounted read-only:

# mount | grep cgroup
none on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec)

Is this a known problem, and is there a fix or work-around?

Thanks,  Peter S.



More information about the Users mailing list