<div>I have failed to start a container on f15 although it worked fine on 14<br></div><div>here is the log</div><div>==snip</div><div>[root@hovercraft boss]# cat lxc.log <br>      lxc-start 1306584262.160 DEBUG    lxc_conf - allocated pty '/dev/pts/9' (4/5)<br>
      lxc-start 1306584262.160 DEBUG    lxc_conf - allocated pty '/dev/pts/10' (6/7)<br>      lxc-start 1306584262.160 DEBUG    lxc_conf - allocated pty '/dev/pts/11' (8/9)<br>      lxc-start 1306584262.160 DEBUG    lxc_conf - allocated pty '/dev/pts/12' (10/11)<br>
      lxc-start 1306584262.160 INFO     lxc_conf - tty's configured<br>      lxc-start 1306584262.160 ERROR    lxc_caps - failed to cap_get_flag: Invalid argument<br>      lxc-start 1306584262.160 DEBUG    lxc_console - using '/dev/tty' as console<br>
      lxc-start 1306584262.160 DEBUG    lxc_start - sigchild handler set<br>      lxc-start 1306584262.161 INFO     lxc_start - 'boss' is initialized<br>      lxc-start 1306584262.161 ERROR    lxc_namespace - failed to clone(0x6c020000): Operation not permitted<br>
      lxc-start 1306584262.161 ERROR    lxc_start - Operation not permitted - failed to fork into a new namespace<br>      lxc-start 1306584262.161 ERROR    lxc_start - failed to spawn 'boss'<br>      lxc-start 1306584262.161 DEBUG    lxc_cgroup - using cgroup mounted at '/sys/fs/cgroup/systemd'<br>
      lxc-start 1306584262.161 ERROR    lxc_cgroup - No such file or directory - failed to remove cgroup '/sys/fs/cgroup/systemd/boss'<br>== end</div><div><br></div><div>mounts</div><div>[root@hovercraft boss]# mount |grep cgroup<br>
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)<br>cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)<br>
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)<br>cgroup on /sys/fs/cgroup/ns type cgroup (rw,nosuid,nodev,noexec,relatime,ns)<br>cgroup on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)<br>
cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)<br>cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)<br>cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)<br>
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)<br>cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)<br>cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)<br>
<br></div><div>it looks like lxc is trying to create the container's cgroup under systemd which seems to be the wrong location</div><div>any leads on how can i debug further</div><div>how does lxc find where cgroup is mounted?</div>
<div><br></div><div>see bug <a href="https://bugzilla.redhat.com/show_bug.cgi?id=683667">https://bugzilla.redhat.com/show_bug.cgi?id=683667</a></div>