[pkg-lxc-devel] Bug#944389: Fails to work with cgroupv2 / unified hierarchy
Michael Biebl
biebl at debian.org
Sat Nov 9 00:51:22 GMT 2019
Package: lxc
Version: 1:3.1.0+really3.0.4-2
Severity: important
User: pkg-systemd-maintainers at lists.alioth.debian.org
Usertags: cgroupv2
Hi,
starting with systemd v243, the new upstream default in systemd will be
to use the unified hierarchy, i.e. cgroupv2
When trying to start an lxc container while booted with unified
hierarchy, I get the following failure:
lxc-start: autopkgtest-sid: lxccontainer.c: wait_on_daemonized_start: 850 Received container state "ABORTING" instead of "RUNNING"
lxc-start: autopkgtest-sid: tools/lxc_start.c: main: 329 The container failed to start
lxc-start: autopkgtest-sid: tools/lxc_start.c: main: 332 To get more details, run the container in foreground mode
lxc-start: autopkgtest-sid: tools/lxc_start.c: main: 334 Additional information can be obtained by setting the --logfile and --logpriority options
A full DEBUG log is attached.
If you want to reproduce the failure, you can boot with systemd adding
"systemd.unified_cgroup_hierarchy=true" to the kernel command line.
While the Debian package will revert back to the hybrid hierarchy for
the time being, we plan to make cgroupv2 the default in bullseye.
Once we make this switch, this bug report would become RC.
See also
https://fedoraproject.org/wiki/Changes/CGroupsV2
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943981
Regards,
Michael
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.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.73
ii libc6 2.29-3
ii libgcc1 1:9.2.1-17
ii liblxc1 1:3.1.0+really3.0.4-2
ii lsb-base 11.1.0
Versions of packages lxc recommends:
ii apparmor 2.13.3-6
ii bridge-utils 1.6-2
ii debootstrap 1.0.116
ii dirmngr 2.2.17-3
ii dnsmasq-base [dnsmasq-base] 2.80-1+b1
ii gnupg 2.2.17-3
ii iproute2 5.3.0-1
ii iptables 1.8.3-2
ii libpam-cgfs 1:3.1.0+really3.0.4-2
ii lxc-templates 3.0.4-1
ii lxcfs 3.0.4-2
ii nftables 0.9.2-2
ii openssl 1.1.1d-2
ii rsync 3.1.3-8
ii uidmap 1:4.7-2
Versions of packages lxc suggests:
ii btrfs-progs 5.3.1-1
ii lvm2 2.03.02-3
ii python3-lxc 1:3.0.4-1
-- Configuration Files:
/etc/lxc/default.conf changed [not included]
-- debconf information excluded
More information about the Pkg-lxc-devel
mailing list