[lxc-users] cgmanager: cgm_list_children for controller=systemd, cgroup_path=user failed: invalid request
Serge Hallyn
serge.hallyn at ubuntu.com
Fri Jan 16 20:31:16 UTC 2015
Quoting Smart Goldman (ytlec2014 at gmail.com):
> 2015-01-15 23:22 GMT+09:00 Serge Hallyn <serge.hallyn at ubuntu.com>:
> > What do /proc/self/cgroup and /var/log/upstart/cgmanager.log now show?
>
> /proc/self/cgroup shows this:
> root at myhost:~# cat /proc/self/cgroup
> 4:name=systemd:/
> 3:freezer,devices,name=container:/12042
> 2:cpuacct,cpu,cpuset,name=fairsched:/12042
> 1:blkio,name=beancounter:/12042
> root at myhost:~#
>
> And /var/log/upstart/cgmanager.log is this:
> root at myhost:~# tail -n 50 /var/log/upstart/cgmanager.log
> Mounted fairsched onto /run/cgmanager/fs/none,name=fairsched
> Mounted beancounter onto /run/cgmanager/fs/none,name=beancounter
> found 4 controllers
> buf is /run/cgmanager/agents/cgm-release-agent.systemd
> buf is /run/cgmanager/agents/cgm-release-agent.container
> buf is /run/cgmanager/agents/cgm-release-agent.fairsched
> buf is /run/cgmanager/agents/cgm-release-agent.beancounter
> Mounted systemd onto /run/cgmanager/fs/none,name=systemd
> cgmanager: Failed mounting /run/cgmanager/fs/none,name=container: Operation
> not permitted
Operation not permitted? That's unexpected. Are you running a custom
kernel or custom selinux policy?
I do think removing cgroup-bin
sudo apt-get purge cgroup-bin
will fix the mounting of the name=beancounter etc hierarchies.
More information about the lxc-users
mailing list