kickstart-tests icon indicating copy to clipboard operation
kickstart-tests copied to clipboard

selinux-contexts failing on rhel9: "Would relabel /kdump.Krxs from system_u:object_r:root_t:s0 to system_u:object_r:default_t:s0"

Open rvykydal opened this issue 2 years ago • 1 comments

Started to appear: 06/10/2023

2023-06-12 00:48:29,736 DEBUG: Failed to run subprocess: '['/opt/kstest/kickstart-tests/scripts/launcher/lib/launcher_interface.sh', '-i', '/opt/kstest/data/images/boot.iso', '-k', '1', '-w', '/var/tmp/kstest-selinux-contexts.2023_06_12-00_37_14.3pvolph9', '-t', '/opt/kstest/kickstart-tests/selinux-contexts.sh', 'validate']'
stdout:
*** System has started with errors:
Would relabel /kdump.Krxs from system_u:object_r:root_t:s0 to system_u:object_r:default_t:s0

2023-06-12 00:48:29,736 INFO: RESULT:selinux-contexts:6bf59eb3eeb0:FAILED:Validation failed with return code 1

kstest.log virt-install.log

rvykydal avatar Jun 13 '23 13:06 rvykydal

PR to disable the test: https://github.com/rhinstaller/kickstart-tests/pull/971

rvykydal avatar Jun 13 '23 14:06 rvykydal

The problem we saw in the past has been resolved in kexec-tools: https://gitlab.com/redhat/centos-stream/rpms/kexec-tools/-/commit/401619f484f2b2e943ca4ecc8fd90e02978a75c2

PR to enable the test: https://github.com/rhinstaller/kickstart-tests/pull/1166

jstodola avatar May 15 '24 12:05 jstodola

https://github.com/rhinstaller/kickstart-tests/pull/1166 merged -> closing this issue.

jstodola avatar May 15 '24 14:05 jstodola