Package: lxc
Version: 1:1.0.5-2
Severity: important

that's what I get when I try to start a container:

lxc-start -n sid
lxc-start: No such file or directory - failed to read
/sys/fs/cgroup/lxc/cpuset.cpus
lxc-start: Failed to initialize cpuset for '/lxc' in '/sys/fs/cgroup'.
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup//systemd
lxc-start: Directory not empty - cgroup_rmdir: failed to delete
/sys/fs/cgroup//cgmanager
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/
lxc-start: failed creating cgroups
lxc-start: failed to spawn 'sid'
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the --logfile
and --log-priority options.

#mount | grep cgroup
cgroup on /sys/fs/cgroup type cgroup
(rw,relatime,cpuset,cpu,cpuacct,devices,freezer,net_cls,blkio,perf_event)
cgroup on /sys/fs/cgroup type tmpfs (rw,relatime,size=12k)
systemd on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,name=systemd)

lxc-checkconfig
Kernel configuration found at /boot/config-3.14-2-amd64
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup namespace: required
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled

It seems that for some reason Cgroup namespace is missing.. a kernel issue ?
--- Cgroup namespace: required


cat /proc/cgroups
#subsys_name    hierarchy       num_cgroups     enabled
cpuset  2       1       1
cpu     2       1       1
cpuacct 2       1       1
memory  0       1       0
devices 2       1       1
freezer 2       1       1


net_cls 2       1       1


blkio   2       1       1
perf_event      2       1       1


dpkg -l | egrep "(cgroup|cgmanager|lxc)"
ii  cgmanager                              0.30-1
  amd64        Central cgroup manager daemon
ii  cgroup-bin                             0.41-5
  all          control and monitor control groups (transitional package)
ii  cgroup-tools                           0.41-5
  amd64        control and monitor control groups (tools)
ii  cgroupfs-mount                         1.0
   all          Light-weight package to set up cgroupfs mounts
ii  libcgmanager0:amd64                    0.30-1
  amd64        Central cgroup manager daemon (client library)
ii  libcgroup1:amd64                       0.41-5
  amd64        control and monitor control groups (library)
ii  lxc                                    1:1.0.5-2
   amd64        Linux Containers userspace tools
ii  lxc-stuff                              1.0.4-3
   all          Linux Containers userspace tools (additional utilities)


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  init-system-helpers  1.21
ii  libapparmor1         2.8.0-5.1+b2
ii  libc6                2.19-10
ii  libcap2              1:2.24-4
ii  libseccomp2          2.1.1-1
ii  libselinux1          2.3-1
ii  multiarch-support    2.19-10
ii  python3              3.4.1-1

Versions of packages lxc recommends:
ii  lua5.2  5.2.3-1
ii  rsync   3.1.1-2

Versions of packages lxc suggests:
ii  debootstrap  1.0.60

-- debconf information:
* lxc/directory: /var/lib/lxc
  lxc/auto: true
  lxc/shutdown: /usr/bin/lxc-halt
  lxc/title:

Reply via email to