Public bug reported:

Package version: 1:4.0.6-0ubuntu1~20.04.1

$> lsb_release -rd
Description:    Ubuntu 20.04.3 LTS
Release:        20.04

$> uname -a
Linux ubuntu 4.9.295 #5 SMP PREEMPT Thu Jan 20 18:40:42 CET 2022 aarch64 
aarch64 aarch64 GNU/Linux

-----

LXC fails to start containers in Focal 20.04 on some arm64 devices
running a kernel version older than 5.4.

The LXC version packaged in Focal is 4.0.6 and makes use of "pidfd".
However, this requires kernel version 5.4+.

There is a check in place, if "pidfd" is usable or not.
Though this check fails for arm64, which results in failing to start containers.

This issue was fixed in 4.0.7 with the following commit:
https://github.com/lxc/lxc/commit/c07b6837e30b8d969060ce7d3f95a30abec637de

Recompiling the focal lxc package with above commit applied fixes this
issue and containers start properly again on the affected device.

Upgrading the kernel to fix the affected devices is unfortunately not
feasable, because they are running a vendor specific kernel.

Would it be possible to include the fix in a SRU for Focal?

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958661

Title:
  LXC fails to start container on some arm64 devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1958661/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to