[pkg-lxc-devel] Bug#944389: lxc: Fails to work with cgroupv2 / unified hierarchy

Ryutaroh Matsumoto ryutaroh.matsumoto at nagoya-u.jp
Sun Dec 1 06:20:49 GMT 2019


Package: lxc
Version: 1:3.1.0+really3.0.4-2
Followup-For: Bug #944389

Dear Maintainer,

This problem can be worked around by adding

lxc.cgroup.devices.deny =
lxc.cgroup.devices.allow =

to the end of /var/lib/lxc/test-container/config

LXC does not support the V2 device controller until very recently
https://github.com/lxc/lxc/commit/637de040ae55216a0551a35c23ff0de99cd6d719

So there should be no harm of adding 
lxc.cgroup.devices.deny =
lxc.cgroup.devices.allow =

Best regards,
Ryutaroh Matsumoto

-- System Information:
Debian Release: 10.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.29-3
ii  libgcc1                1:8.3.0-6
ii  liblxc1                1:3.1.0+really3.0.4-2
ii  lsb-base               10.2019051400

Versions of packages lxc recommends:
ii  apparmor                     2.13.2-10
ii  bridge-utils                 1.6-2
ii  debootstrap                  1.0.114
ii  dirmngr                      2.2.12-1+deb10u1
ii  dnsmasq-base [dnsmasq-base]  2.80-1
ii  gnupg                        2.2.12-1+deb10u1
ii  iproute2                     4.20.0-2
ii  iptables                     1.8.2-4
pn  libpam-cgfs                  <none>
ii  lxc-templates                3.0.4-1
pn  lxcfs                        <none>
ii  nftables                     0.9.0-2
ii  openssl                      1.1.1c-1
ii  rsync                        3.1.3-8
ii  uidmap                       1:4.5-1.1

Versions of packages lxc suggests:
pn  btrfs-progs  <none>
ii  lvm2         2.03.02-3
pn  python3-lxc  <none>

-- debconf information:
  lxc/auto_update_config:



More information about the Pkg-lxc-devel mailing list