lxc: lxc-test-parse-config-file failure on Jammy (retrieved value "" for config key "lxc.selinux.context")

Bug #1966188 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
New
Undecided
Unassigned

Bug Description

After bug 1943441 fixed for Impish, we're seeing this again on Jammy,
with lxc 1:4.0.12-0ubuntu2 from Jammy archive.

START ubuntu_lxc.lxc-test-parse-config-file ubuntu_lxc.lxc-test-parse-config-file timestamp=1648013959 timeout=1200 localtime=Mar 23 05:39:19
 Persistent state client._record_indent now set to 2
 Persistent state client.unexpected_reboot now set to ('ubuntu_lxc.lxc-test-parse-config-file', 'ubuntu_lxc.lxc-test-parse-config-file')
 Waiting for pid 79677 for 1200 seconds
 System python is too old, crash handling disabled
 Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-parse-config-file'
 parse_config_file.c: 63: set_get_compare_clear_save_load: expected value "system_u:system_r:lxc_t:s0:c22" and retrieved value "" for config key "lxc.selinux.context" do not match

 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)
description: updated
tags: added: 5.15 jammy ubuntu-lxc
Po-Hsu Lin (cypressyew)
summary: - lxc: lxc-test-parse-config-file failure on Jammy
+ lxc: lxc-test-parse-config-file failure on Jammy (retrieved value "" for
+ config key "lxc.selinux.context")
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

I can still see the issue from bug 1943441 with impish:linux. However, with one of the s390x systems (s2lp4 which is a lpar), I only get the second error reported on this bug:

START ubuntu_lxc.lxc-test-parse-config-file ubuntu_lxc.lxc-test-parse-config-file timestamp=1649849603 timeout=1200 localtime=Apr 13 11:33:23
Persistent state client._record_indent now set to 2
Persistent state client.unexpected_reboot now set to ('ubuntu_lxc.lxc-test-parse-config-file', 'ubuntu_lxc.lxc-test-parse-config-file')
Waiting for pid 62280 for 1200 seconds
System python is too old, crash handling disabled
Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-parse-config-file'
[stderr] parse_config_file.c: 49: set_get_compare_clear_save_load: failed to set config item "lxc.seccomp.profile" to "/some/seccomp/file"
[stderr]
[stderr] parse_config_file.c: 580: main: lxc.seccomp.profile

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.