[lxc-users] sysvinit with cgroup namespace

KATOH Yasufumi karma at jazz.email.ne.jp
Wed Apr 20 08:21:34 UTC 2016


Hi,

>>> On Wed, 20 Apr 2016 09:13:26 +0200
    in message   "Re: [lxc-users] sysvinit with cgroup namespace"
                  Harald Dunkel-san wrote:

> I tried, but it did not work:

> # grep /sys/fs/cgroup /etc/fstab
> systemd /sys/fs/cgroup cgroup none,name=systemd

I can start a container on lxc 2.0.0 with:

$ grep /sys/fs/cgroup/ /proc/mounts
cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/net_prio cgroup rw,relatime,net_prio 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,relatime,hugetlb 0 0
cgroup /sys/fs/cgroup/pids cgroup rw,relatime,pids 0 0
cgroup /sys/fs/cgroup/debug cgroup rw,relatime,debug 0 0
systemd /sys/fs/cgroup/systemd cgroup rw,relatime,name=systemd 0 0

I suppose the cgfsng driver of LXC 2.0.0 need systemd cgroup and
freezer controller.

But, at pull request #971, we can start a container without systemd,
  https://github.com/lxc/lxc/pull/971
:-)

--
KATOH Yasufumi / karma at jazz.email.ne.jp


More information about the lxc-users mailing list