Comment 0 for bug 1931064

Revision history for this message
Andrea Righi (arighi) wrote :

The lxc autotest is failing with the following error(s) on the latest kernel linux-unstable 5.13:

FAIL: lxc-tests: lxc-test-apparmor (1s)
---
failed - opened /sys/kernel/uevent_helper
---
PASS: lxc-tests: lxc-test-apparmor-generated (0s)
PASS: lxc-tests: lxc-test-apparmor-mount (29s)
FAIL: lxc-tests: lxc-test-attach (1s)
---
attach.c: 410: main: Using "/tmp/attach_x8lgO2" as temporary log file for container lxc-attach-test

I was able to bisect the problem and found that the offending commit is:

bfb819ea20ce8bbeeba17e1a6418bf8bda91fc28 ("proc: Check /proc/$pid/attr/ writes against file opener")

This commit looks like a sane fix, so simply reverting it in the kernel doesn't seem a viable solution.

I think we should address and understand the issue in the lxc package.