<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-01-17 5:31 GMT+09:00 Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span>:</div><div class="gmail_quote"><br></div><div class="gmail_quote"><div class="gmail_quote"><div class="gmail_quote">> Operation not permitted?  That's unexpected.  Are you running a custom</div><div class="gmail_quote">> kernel or custom selinux policy?</div><div class="gmail_quote"><br></div><div class="gmail_quote">Yes, mine is ubuntu system provided by a VPS service of <a href="https://crissic.net/los-angeles_vps_pre-launch">https://crissic.net/los-angeles_vps_pre-launch</a></div><div class="gmail_quote">I think it's a possibility. I may need to ask the provider about it..</div><div class="gmail_quote">Although I do not think this information will be helpful, this is my kernel version.</div><div class="gmail_quote">root@okapi:~# uname -a</div><div class="gmail_quote">Linux okapi 2.6.32-042stab093.5 #1 SMP Wed Sep 10 17:39:49 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux</div><div class="gmail_quote">I think I've never changed the kernel by myself.</div><div class="gmail_quote"><br></div><div class="gmail_quote">> I do think removing cgroup-bin</div><div class="gmail_quote">> </div><div class="gmail_quote">> sudo apt-get purge cgroup-bin</div><div class="gmail_quote">> </div><div class="gmail_quote">> will fix the mounting of the name=beancounter etc hierarchies.</div><div class="gmail_quote"><br></div><div class="gmail_quote">I had removed cgroup-bin.</div><div class="gmail_quote">But unfortunately it looks like it was not fixed.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Each file after removing cgroup-bin, reboot and re-login is now as follows:</div><div class="gmail_quote"><br></div><div class="gmail_quote">root@okapi:~# cat /proc/self/cgroup</div><div class="gmail_quote">4:name=systemd:/</div><div class="gmail_quote">3:freezer,devices,name=container:/12042</div><div class="gmail_quote">2:cpuacct,cpu,cpuset,name=fairsched:/12042</div><div class="gmail_quote">1:blkio,name=beancounter:/12042</div><div class="gmail_quote"><br></div><div class="gmail_quote">root@okapi:~# tail -n 13 /var/log/upstart/cgmanager.log</div><div class="gmail_quote">Mounted systemd onto /run/cgmanager/fs/none,name=systemd</div><div class="gmail_quote">Mounted container onto /run/cgmanager/fs/none,name=container</div><div class="gmail_quote">Mounted fairsched onto /run/cgmanager/fs/none,name=fairsched</div><div class="gmail_quote">Mounted beancounter onto /run/cgmanager/fs/none,name=beancounter</div><div class="gmail_quote">found 4 controllers</div><div class="gmail_quote">buf is /run/cgmanager/agents/cgm-release-agent.systemd</div><div class="gmail_quote">buf is /run/cgmanager/agents/cgm-release-agent.container</div><div class="gmail_quote">buf is /run/cgmanager/agents/cgm-release-agent.fairsched</div><div class="gmail_quote">buf is /run/cgmanager/agents/cgm-release-agent.beancounter</div><div class="gmail_quote">Mounted systemd onto /run/cgmanager/fs/none,name=systemd</div><div class="gmail_quote">cgmanager: Failed mounting /run/cgmanager/fs/none,name=container: Operation not permitted</div><div class="gmail_quote">cgmanager: Failed mounting cgroups</div><div class="gmail_quote">cgmanager: Failed to set up cgroup mounts</div><div class="gmail_quote"><br></div><div class="gmail_quote">root@okapi:~# tail -n 10 /var/log/auth.log</div><div class="gmail_quote">Jan 17 00:31:48 okapi sudo:     root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/apt-get -y purge cgroup-bin</div><div class="gmail_quote">Jan 17 00:31:48 okapi sudo: pam_unix(sudo:session): session opened for user root by root(uid=0)</div><div class="gmail_quote">Jan 17 00:31:55 okapi sudo: pam_unix(sudo:session): session closed for user root</div><div class="gmail_quote">Jan 17 00:32:53 okapi systemd-logind[326]: New seat seat0.</div><div class="gmail_quote">Jan 17 00:32:54 okapi sshd[492]: Server listening on 0.0.0.0 port 22.</div><div class="gmail_quote">Jan 17 00:32:54 okapi sshd[492]: Server listening on :: port 22.</div><div class="gmail_quote">Jan 17 00:34:09 okapi sshd[897]: Accepted password for root from 119.105.136.26 port 56815 ssh2</div><div class="gmail_quote">Jan 17 00:34:09 okapi sshd[897]: pam_unix(sshd:session): session opened for user root by (uid=0)</div><div class="gmail_quote">Jan 17 00:34:09 okapi systemd-logind[326]: Failed to create cgroup name=systemd:/user/0.user: No such file or directory</div><div class="gmail_quote">Jan 17 00:34:09 okapi sshd[897]: pam_systemd(sshd:session): Failed to create session: No such file or directory</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div></div></div></div></div>