From d16afec0fa2068bf784e115f8c9c9337a44c7f45 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Sat, 21 Aug 2021 13:43:19 -0600 Subject: [PATCH] selinux - some tests give USER_AVC denied errors selinux tests_selinux_disabled.yml gives USER_AVC errors, so add the tag so this test will be skipped by basic smoke test. Resolves: rhbz#1996315 (EL9) (cherry picked from commit ebbd49b04d5dced636177d56729fdc50d3a06df5) --- linux-system-roles.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/linux-system-roles.spec b/linux-system-roles.spec index f57a250..9cfb30d 100644 --- a/linux-system-roles.spec +++ b/linux-system-roles.spec @@ -22,7 +22,7 @@ Name: linux-system-roles Url: https://github.com/linux-system-roles Summary: Set of interfaces for unified system management Version: 1.8.3 -Release: 1%{?dist} +Release: 2%{?dist} #Group: Development/Libraries License: GPLv3+ and MIT and BSD @@ -284,6 +284,13 @@ for rolename in %{rolenames}; do mv "$dir_from_archive" ${rolename} done +cd %{rolename2}/tests +# this test causes avcs we want to ignore +sed -r -i -e '/hosts: all/a\ + tags:\ + - tests::avc' tests_selinux_disabled.yml +cd ../.. + cd %{rolename5} %patch51 -p1 %patch52 -p1 @@ -616,6 +623,11 @@ fi %endif %changelog +* Thu Aug 26 2021 Rich Megginson - 1.8.3-2 +- selinux - tag tests_selinux_disabled.yml with tests::avc + Resolves rhbz#1996315 (EL9) + Resolves rhbz#1996317 (EL8) + * Thu Aug 26 2021 Rich Megginson - 1.8.3-1 - storage - revert the dm-vdo workaround fix for vdo testing Resolves rhbz#1978488 (EL9) @@ -629,7 +641,7 @@ fi * Mon Aug 16 2021 Rich Megginson - 1.8.1-1 - metrics - the bpftrace role does not properly configure bpftrace agent Resolves rhbz#1994180 (EL9) - Resolves rhbz#1993240 (EL9) + Resolves rhbz#1993240 (EL8) * Thu Aug 12 2021 Rich Megginson - 1.8.0-1 - drop support for Ansible 2.8 - min_ansible_version is now 2.9