<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yiv1311677763"><div id="yui_3_16_0_ym19_1_1467091316376_5178"><div id="yui_3_16_0_ym19_1_1467091316376_5177" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"><div id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_2976">hi,</div><div id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_2954"><div id="yui_3_16_0_ym19_1_1467091316376_5680">I have the same problem (cgroups not working as expected) on a clean Xenial build (lxc PPA NOT installed, LXD not installed)</div><div id="yui_3_16_0_ym19_1_1467091316376_5681" dir="ltr">In my case I have some Ubuntu Trusty containers I really need to use on Xenial, but they won't start because I use cgroups.</div><div id="yui_3_16_0_ym19_1_1467091316376_5682" dir="ltr">If I change the existing containers to remove the "lxc.cgroup" clauses from config they start, but not otherwise.</div><div id="yui_3_16_0_ym19_1_1467091316376_5746" dir="ltr">Similarly, I created a new Xenial container for testing. It works, until I add "lxc.cgroups" clauses at which point it also fails to start.</div><div id="yui_3_16_0_ym19_1_1467091316376_5844" dir="ltr">@virt-host:~$ lxc-start -n trusty_unp_ibvpn -F -l debug -o lxc.log<br id="yui_3_16_0_ym19_1_1467091316376_6048">lxc-start: cgfsng.c: cgfsng_setup_limits: 1662 No such file or directory - Error setting cpuset.cpus to 1-3 for trusty_unp_ibvpn<br id="yui_3_16_0_ym19_1_1467091316376_6049">lxc-start: start.c: lxc_spawn: 1180 failed to setup the cgroup limits for 'trusty_unp_ibvpn'<br id="yui_3_16_0_ym19_1_1467091316376_6050">lxc-start: start.c: __lxc_start: 1353 failed to spawn 'trusty_unp_ibvpn'<br id="yui_3_16_0_ym19_1_1467091316376_6051">lxc-start: lxc_start.c: main: 344 The container failed to start.<br id="yui_3_16_0_ym19_1_1467091316376_6052">lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.<br></div><div id="yui_3_16_0_ym19_1_1467091316376_6222"><br></div><div id="yui_3_16_0_ym19_1_1467091316376_6186">Logfile Contents</div><div>=============<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1467091316376_6251"> lxc-start 20160628155820.562 INFO lxc_start_ui - lxc_start.c:main:264 - using rcfile /mnt/lxc_images/containers/trusty_unp_ibvpn/config<br id="yui_3_16_0_ym19_1_1467091316376_6344"> lxc-start 20160628155820.562 WARN lxc_confile - confile.c:config_pivotdir:1879 - lxc.pivotdir is ignored. It will soon become an error.<br id="yui_3_16_0_ym19_1_1467091316376_6345"> lxc-start 20160628155820.562 INFO lxc_confile - confile.c:config_idmap:1500 - read uid map: type u nsid 0 hostid 100000 range 65536<br id="yui_3_16_0_ym19_1_1467091316376_6346"> lxc-start 20160628155820.562 INFO lxc_confile - confile.c:config_idmap:1500 - read uid map: type g nsid 0 hostid 100000 range 65536<br id="yui_3_16_0_ym19_1_1467091316376_6347"> lxc-start 20160628155820.564 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor<br id="yui_3_16_0_ym19_1_1467091316376_6348"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .reject_force_umount # comment this to allow umount -f; not recommended.<br id="yui_3_16_0_ym19_1_1467091316376_6349"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for reject_force_umount action 0<br id="yui_3_16_0_ym19_1_1467091316376_6350"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts<br id="yui_3_16_0_ym19_1_1467091316376_6351"><br id="yui_3_16_0_ym19_1_1467091316376_6352"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for reject_force_umount action 0<br id="yui_3_16_0_ym19_1_1467091316376_6353"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts<br id="yui_3_16_0_ym19_1_1467091316376_6354"><br id="yui_3_16_0_ym19_1_1467091316376_6355"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .[all].<br id="yui_3_16_0_ym19_1_1467091316376_6356"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .kexec_load errno 1.<br id="yui_3_16_0_ym19_1_1467091316376_6357"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for kexec_load action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6358"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for kexec_load action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6359"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .open_by_handle_at errno 1.<br id="yui_3_16_0_ym19_1_1467091316376_6360"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for open_by_handle_at action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6361"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for open_by_handle_at action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6362"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .init_module errno 1.<br id="yui_3_16_0_ym19_1_1467091316376_6363"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for init_module action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6364"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for init_module action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6365"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .finit_module errno 1.<br id="yui_3_16_0_ym19_1_1467091316376_6366"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for finit_module action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6367"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for finit_module action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6368"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .delete_module errno 1.<br id="yui_3_16_0_ym19_1_1467091316376_6369"> lxc-start 20160628155820.564 INFO lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for delete_module action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6370"> lxc-start 20160628155820.565 INFO lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for delete_module action 327681<br id="yui_3_16_0_ym19_1_1467091316376_6371"> lxc-start 20160628155820.565 INFO lxc_seccomp - seccomp.c:parse_config_v2:456 - Merging in the compat seccomp ctx into the main one<br id="yui_3_16_0_ym19_1_1467091316376_6372"> lxc-start 20160628155820.565 DEBUG lxc_start - start.c:setup_signal_fd:289 - sigchild handler set<br id="yui_3_16_0_ym19_1_1467091316376_6373"> lxc-start 20160628155820.565 DEBUG lxc_console - console.c:lxc_console_peer_default:431 - opening /dev/tty for console peer<br id="yui_3_16_0_ym19_1_1467091316376_6374"> lxc-start 20160628155820.565 INFO lxc_caps - caps.c:lxc_caps_up:101 - Last supported cap was 36<br id="yui_3_16_0_ym19_1_1467091316376_6375"> lxc-start 20160628155820.565 DEBUG lxc_console - console.c:lxc_console_peer_default:437 - using '/dev/tty' as console<br id="yui_3_16_0_ym19_1_1467091316376_6376"> lxc-start 20160628155820.565 DEBUG lxc_console - console.c:lxc_console_sigwinch_init:145 - 3234 got SIGWINCH fd 9<br id="yui_3_16_0_ym19_1_1467091316376_6377"> lxc-start 20160628155820.565 DEBUG lxc_console - console.c:lxc_console_winsz:72 - set winsz dstfd:6 cols:212 rows:73<br id="yui_3_16_0_ym19_1_1467091316376_6378"> lxc-start 20160628155820.611 INFO lxc_start - start.c:lxc_init:488 - 'trusty_unp_ibvpn' is initialized<br id="yui_3_16_0_ym19_1_1467091316376_6379"> lxc-start 20160628155820.611 DEBUG lxc_start - start.c:__lxc_start:1326 - Not dropping cap_sys_boot or watching utmp<br id="yui_3_16_0_ym19_1_1467091316376_6380"> lxc-start 20160628155820.611 INFO lxc_start - start.c:resolve_clone_flags:1013 - Cloning a new user namespace<br id="yui_3_16_0_ym19_1_1467091316376_6381"> lxc-start 20160628155820.611 INFO lxc_cgroup - cgroup.c:cgroup_init:68 - cgroup driver cgroupfs-ng initing for trusty_unp_ibvpn<br id="yui_3_16_0_ym19_1_1467091316376_6382"> lxc-start 20160628155820.614 DEBUG lxc_cgfsng - cgfsng.c:cgfsng_setup_limits:1667 - cgroup 'devices.allow' set to 'c 10:200 rwm'<br id="yui_3_16_0_ym19_1_1467091316376_6383"> lxc-start 20160628155820.614 ERROR lxc_cgfsng - cgfsng.c:cgfsng_setup_limits:1662 - No such file or directory - Error setting cpuset.cpus to 1-3 for trusty_unp_ibvpn<br id="yui_3_16_0_ym19_1_1467091316376_6384"> lxc-start 20160628155820.615 ERROR lxc_start - start.c:lxc_spawn:1180 - failed to setup the cgroup limits for 'trusty_unp_ibvpn'<br id="yui_3_16_0_ym19_1_1467091316376_6385"> lxc-start 20160628155820.615 ERROR lxc_start - start.c:__lxc_start:1353 - failed to spawn 'trusty_unp_ibvpn'<br id="yui_3_16_0_ym19_1_1467091316376_6386"> lxc-start 20160628155820.659 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxcfs/lxc.reboot.hook' for container 'trusty_unp_ibvpn', config section 'lxc'<br id="yui_3_16_0_ym19_1_1467091316376_6387"> lxc-start 20160628155821.172 ERROR lxc_start_ui - lxc_start.c:main:344 - The container failed to start.<br id="yui_3_16_0_ym19_1_1467091316376_6388"> lxc-start 20160628155821.172 ERROR lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.<br id="yui_3_16_0_ym19_1_1467091316376_6389"> </div></div><div id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_2977"><div id="yui_3_16_0_ym19_1_1467091316376_5964"><br clear="none"></div><div id="yui_3_16_0_ym19_1_1467091316376_5965">Repeating the commands you were discussing with Mike<br></div><div id="yui_3_16_0_ym19_1_1467091316376_5966"><br clear="none"></div></div><div dir="ltr" id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3619">cgmanager is already the newest version (0.39-2ubuntu5).<br clear="none"></div><div dir="ltr" id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3530"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3535">@virt-host:~$</span>cgm --version<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3533" clear="none">0.29<br clear="none"></div><div id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3519"><br clear="none"></div><div dir="ltr" id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3093"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3329">@virt-host:~$</span>ls /proc/self/cgroup<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3042" clear="none">/proc/self/cgroup<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3043" clear="none"><br clear="none"></div><div dir="ltr" id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3423"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3179"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3333">@virt-host:~$</span>ls /proc/self/mountinfo<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3098" clear="none">/proc/self/mountinfo<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3099" clear="none"></span></div><div dir="ltr" id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3272"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3179"><br clear="none"></span></div><div dir="ltr" id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3398"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3179">@virt-host:~$ sudo nano /lib/systemd/system/cgmanager.service<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3304" clear="none">@virt-host:~$ sudo systemctl daemon-reload<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3305" clear="none">@virt-host:~$ <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3306" clear="none">@virt-host:~$ systemctl restart cgmanager<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3307" clear="none">@virt-host:~$ <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3308" clear="none">@virt-host:~$ sudo cgm create all me<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3309" clear="none">@virt-host:~$ sudo cgm chown all me $(id -u) $(id -g)<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3310" clear="none">call to cgmanager_chown_sync failed: invalid request</span></div><div dir="ltr" id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3401"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3179"><br clear="none"></span></div><div dir="ltr" id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3402"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3179">-- Logs begin at Tue 2016-06-28 15:08:37 AEST, end at Tue 2016-06-28 15:44:23 AEST. --<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3911" clear="none">Jun 28 15:08:40 virt-host systemd[1]: Started Cgroup management daemon.<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3912" clear="none">Jun 28 15:40:14 virt-host systemd[1]: Stopping Cgroup management daemon...<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3913" clear="none">Jun 28 15:40:14 virt-host systemd[1]: Stopped Cgroup management daemon.<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3914" clear="none">Jun 28 15:40:14 virt-host systemd[1]: Started Cgroup management daemon.<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3915" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount systemd onto /run/cgmanager/fs/none,name=systemd<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3916" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount memory onto /run/cgmanager/fs/memory<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3917" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount net_cls onto /run/cgmanager/fs/net_cls<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3918" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount net_prio onto /run/cgmanager/fs/net_prio<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3919" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount cpu onto /run/cgmanager/fs/cpu<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3920" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount cpuacct onto /run/cgmanager/fs/cpuacct<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3921" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount cpuset onto /run/cgmanager/fs/cpuset<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3922" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount blkio onto /run/cgmanager/fs/blkio<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3923" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount devices onto /run/cgmanager/fs/devices<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3924" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount freezer onto /run/cgmanager/fs/freezer<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3925" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount perf_event onto /run/cgmanager/fs/perf_event<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3926" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount hugetlb onto /run/cgmanager/fs/hugetlb<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3927" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: Arranged to mount pids onto /run/cgmanager/fs/pids<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3928" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: all unique controllers: blkio,cpu,cpuset,devices,freezer,hugetlb,memory,net_cls,perf_event,pids,name=systemd<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3929" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 0: controller blkio<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3930" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src blkio path /run/cgmanager/fs/blkio options blkio<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3931" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none)<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3932" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3933" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: yes comounted: blkio<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3934" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: unified: no<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3935" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 1: controller cpu<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3936" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src cpu path /run/cgmanager/fs/cpu options cpu,cpuacct<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3937" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none)<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3938" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3939" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: yes comounted: cpuacct <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3940" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: unified: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3941" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 2: controller cpuacct <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3942" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src cpuacct path /run/cgmanager/fs/cpuacct options cpu,cpuacct <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3943" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none) <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3944" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3945" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: yes comounted: cpu <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3946" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: unified: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3947" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 3: controller cpuset <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3948" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src cpuset path /run/cgmanager/fs/cpuset options cpuset <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3949" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none) <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3950" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3951" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: yes comounted: cpuset <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3952" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: unified: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3953" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 4: controller devices <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3954" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src devices path /run/cgmanager/fs/devices options devices <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3955" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none) <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3956" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3957" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: yes comounted: devices <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3958" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: unified: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3959" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 5: controller freezer <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3960" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src freezer path /run/cgmanager/fs/freezer options freezer <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3961" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none) <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3962" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3963" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: yes comounted: freezer <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3964" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: unified: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3965" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 6: controller hugetlb <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3966" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src hugetlb path /run/cgmanager/fs/hugetlb options (none) <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3967" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none) <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3968" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3969" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: no comounted: (none) <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3970" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: unified: no <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3971" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 7: controller memory <br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3972" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src memory path /run/cgmanager/fs/memory options memory<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3973" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none)<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3974" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3975" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: yes comounted: memory<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3976" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: unified: no<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3977" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: 8: controller net_cls<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3978" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: src net_cls path /run/cgmanager/fs/net_cls options net_cls,net_prio<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3979" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: agent: (none)<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3980" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: skipped: no<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3981" clear="none">Jun 28 15:40:14 virt-host cgmanager[2990]: print_debug_controller_info: premounted: yes comounted: net_prio<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3982" clear="none">Jun 28 15:41:00 virt-host cgmanager[2990]: print_debug_controller_info: src net_prio path /run/cgcgmanager: Invalid path /run/cgmanager/fs/freezer/user/root/1/me<br id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_4059" clear="none"></span><div id="yui_3_16_0_ym19_1_1467091316376_5269"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3179">Jun 28 15:41:00 virt-host cgmanager[2990]: cgmanager:do_chown_main: Invalid path /run/cgmanager/fs/freezer/user/root/1/me</span></div><div id="yui_3_16_0_ym19_1_1467091316376_5270"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3179"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1467091316376_5271"><span id="yiv1311677763yui_3_16_0_ym19_1_1467091316376_3179">@virt-host:~$ ls /proc/self/cgroup<br id="yui_3_16_0_ym19_1_1467091316376_5326">/proc/self/cgroup<br id="yui_3_16_0_ym19_1_1467091316376_5327">@virt-host:~$ ls /proc/self/mountinfo<br id="yui_3_16_0_ym19_1_1467091316376_5328">/proc/self/mountinfo<br></span></div></div> <div id="yui_3_16_0_ym19_1_1467091316376_5260" class="yiv1311677763qtdSeparateBR"><div id="yui_3_16_0_ym19_1_1467091316376_5440"><br></div><div id="yui_3_16_0_ym19_1_1467091316376_5441" dir="ltr">Note that I did NOT upgrade to the "stable" PPA first, still using the standard Xenial package as originally installed (the build is only a few days old)</div><div id="yui_3_16_0_ym19_1_1467091316376_5442" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1467091316376_5443" dir="ltr">Does this help ? Anything else I can do ?</div><div id="yui_3_16_0_ym19_1_1467091316376_5586" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1467091316376_5585" dir="ltr">Rob<br></div><div id="yui_3_16_0_ym19_1_1467091316376_5584" dir="ltr"><br></div><br clear="none"></div><div class="yiv1311677763yqt8790321930" id="yiv1311677763yqt16786"></div></div></div></div><div class=".yiv1311677763yahoo_quoted"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div dir="ltr"><font face="Arial" size="2"> On Monday, 27 June 2016, 11:41, Serge E. Hallyn <serge@hallyn.com> wrote:<br clear="none"></font></div> <br clear="none"><br clear="none"> <div class="yiv1311677763y_msg_container">Quoting Mike Wright (<a rel="nofollow" shape="rect" ymailto="mailto:nobody@nospam.hostisimo.com" target="_blank" href="mailto:nobody@nospam.hostisimo.com">nobody@nospam.hostisimo.com</a>):<br clear="none">> On 06/26/2016 01:01 PM, Serge E. Hallyn wrote:<br clear="none">> >Quoting Mike Wright (<a rel="nofollow" shape="rect" ymailto="mailto:nobody@nospam.hostisimo.com" target="_blank" href="mailto:nobody@nospam.hostisimo.com">nobody@nospam.hostisimo.com</a>):<br clear="none">> >>Hi all,<br clear="none">> >><br clear="none">> >>cgmanager and cgmanager-utils are installed.<br clear="none">> >><br clear="none">> >>Environment is ubuntu-xenial, lxc-2.0.1, cgm-0.29<br clear="none">> ><br clear="none">> >why 0.29? xenial should have 0.39-2ubuntu5. I'm on xenial<br clear="none">> >using 0.41-2~ubuntu16.04.1~ppa1 from the ubuntu-lxc<br clear="none">> >ppa.<br clear="none">> <br clear="none">> Thanks for the response, Serge.<br clear="none">> <br clear="none">> This is interesting.<br clear="none">> <br clear="none">> sudo apt install -s cgmanager<br clear="none">> cgmanager is already the newest version (0.39-2ubuntu5)<br clear="none">> <br clear="none">> cgm --version<br clear="none">> 0.29<br clear="none">> <br clear="none">> Added ppa:ubuntu-lxc/stable, updated and upgraded.<br clear="none">> <br clear="none">> sudo apt install -s cgmanager<br clear="none">> cgmanager is already the newest version (0.41-2~ubuntu16.04.1~ppa1)<br clear="none">> <br clear="none">> cgm --version<br clear="none">> 0.29<br clear="none"><br clear="none">Oh, huh. Yeah, that seems to be a cgmanager bug :)<br clear="none"><br clear="none">> ><br clear="none">> >0 ✓ <a rel="nofollow" shape="rect" ymailto="mailto:serge@sl" target="_blank" href="mailto:serge@sl">serge@sl</a> ~ $ sudo cgm create all me<br clear="none">> >[sudo] password for serge:<br clear="none">> >0 ✓ <a rel="nofollow" shape="rect" ymailto="mailto:serge@sl" target="_blank" href="mailto:serge@sl">serge@sl</a> ~ $ sudo cgm chown all me $(id -u) $(id -g)<br clear="none">> >0 ✓ <a rel="nofollow" shape="rect" ymailto="mailto:serge@sl" target="_blank" href="mailto:serge@sl">serge@sl</a> ~ $<br clear="none">> ><br clear="none">> >Now, I'm not running systemd so it's possible systemd is<br clear="none">> >doing something unorthodox again. But really it sounds<br clear="none">> >like a bug that shouldve been fixed in 0.27-0ubuntu6 -<br clear="none">> >where cgmanager didn't deal well with comounted controllers.<br clear="none">> <br clear="none">> Still failing at cgm chown...<br clear="none">> <br clear="none">> Ideas on how would I go about determining the problem?<br clear="none"><br clear="none">Edit /lib/systemd/system/cgmanager.service and add '--debug' to the<br clear="none">end of the ExecStart line. Do 'systemctl daemon-reload' followed<br clear="none">by 'systemctl restart cgmanager'. Then do the above again, and<br clear="none">do 'journalctl -u cgmanager' and list the results here. Also<br clear="none">show the contents of /proc/self/cgroup and /proc/self/mountinfo.<br clear="none">That should give us what we need.<br clear="none"><br clear="none">thanks,<div class="yiv1311677763yqt3034158692" id="yiv1311677763yqtfd52791"><br clear="none">-serge<br clear="none">_______________________________________________<br clear="none">lxc-users mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:lxc-users@lists.linuxcontainers.org" target="_blank" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></body></html>