lxc: lxc-test-parse-config-file failed (failed to set config item)

Bug #1979258 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
lxc (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Confirmed
Undecided
Unassigned

Bug Description

With bug 1943441 (expected value and retrieved value do not match) fixed with lxc 1:4.0.12-0ubuntu1 on Jammy (still exist on F / I)

Now this test on Jammy with lxc 1:5.0.0~git2209-g5a7b9ce67-0ubuntu1 will fail with:
 Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-parse-config-file'
 parse_config_file.c: 49: set_get_compare_clear_save_load: failed to set config item "lxc.selinux.context" to "system_u:system_r:lxc_t:s0:c22"

 parse_config_file.c: 49: set_get_compare_clear_save_load: failed to set config item "lxc.seccomp.profile" to "/some/seccomp/file"

 parse_config_file.c: 580: main: lxc.seccomp.profile

Po-Hsu Lin (cypressyew)
tags: added: 5.15 jammy sru-20220530 ubuntu-lxc
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
tags: added: sru-20220620
Revision history for this message
Magali Lemes do Sacramento (magalilemes) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote (last edit ):

Thanks!
I have checked with our test result, this is not affecting newer kernels any more.
But it's still visible <= Jammy (lxc-5.0.0~git2209-g5a7b9ce67). Looks like we will need to backport this.

Changed in lxc (Ubuntu):
status: New → Fix Released
Changed in lxc (Ubuntu Jammy):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.