memo

2011-01-21

systemd な環境下で lxc が動いてくれない その2

archives/2011-01/2011-01-11.rst の続き。

ググったら同様の事例に対して、 kernel 2.6.37 + lxc-0.7.4(HEAD) の組み合わせだったら動く、 というような話を見つけたので、ためしてみる。

http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg01319.html

# cave resolve -x "=app-virtualization/lxc-scm"
# lxc-start -n lxc-host -- /bin/sh
lxc-start: open /sys/fs/cgroup/systemd/lxc-host/cpuset.cpus : No such file or directory
lxc-start: failed to setup the cgroups for 'lxc-host'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'lxc-host'

ダメだ。

エラーの内容は変わったけど、やっぱり subsystem 毎に mount する形には対応できてないっぽい。