I have failed to start a container on f15 although it worked fine on 14
here is the log
==snip
[root@hovercraft boss]# cat lxc.log
lxc-start 1306584262.160 DEBUG lxc_conf - allocated pty '/dev/pts/9' (4/5)
lxc-start 1306584262.160 DEBUG lxc_conf - allocated pty '/dev/pts/10' (6/7)
lxc-start 1306584262.160 DEBUG lxc_conf - allocated pty '/dev/pts/11' (8/9)
lxc-start 1306584262.160 DEBUG lxc_conf - allocated pty '/dev/pts/12'
(10/11)
lxc-start 1306584262.160 INFO lxc_conf - tty's configured
lxc-start 1306584262.160 ERROR lxc_caps - failed to cap_get_flag: Invalid
argument
lxc-start 1306584262.160 DEBUG lxc_console - using '/dev/tty' as console
lxc-start 1306584262.160 DEBUG lxc_start - sigchild handler set
lxc-start 1306584262.161 INFO lxc_start - 'boss' is initialized
lxc-start 1306584262.161 ERROR lxc_namespace - failed to clone(0x6c020000):
Operation not permitted
lxc-start 1306584262.161 ERROR lxc_start - Operation not permitted - failed
to fork into a new namespace
lxc-start 1306584262.161 ERROR lxc_start - failed to spawn 'boss'
lxc-start 1306584262.161 DEBUG lxc_cgroup - using cgroup mounted at
'/sys/fs/cgroup/systemd'
lxc-start 1306584262.161 ERROR lxc_cgroup - No such file or directory -
failed to remove cgroup '/sys/fs/cgroup/systemd/boss'
== end

mounts
[root@hovercraft boss]# mount |grep cgroup
tmpfs on /sys/fs/cgroup type tmpfs
(rw,nosuid,nodev,noexec,relatime,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/ns type cgroup (rw,nosuid,nodev,noexec,relatime,ns)
cgroup on /sys/fs/cgroup/cpu type cgroup
(rw,nosuid,nodev,noexec,relatime,cpu)
cgroup on /sys/fs/cgroup/cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup
(rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)

it looks like lxc is trying to create the container's cgroup under systemd
which seems to be the wrong location
any leads on how can i debug further
how does lxc find where cgroup is mounted?

see bug https://bugzilla.redhat.com/show_bug.cgi?id=683667
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to