From ebbd49b04d5dced636177d56729fdc50d3a06df5 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Aug 22 2021 00:10:21 +0000 Subject: 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) Resolves: rhbz#1996317 (EL8) --- diff --git a/linux-system-roles.spec b/linux-system-roles.spec index 251f400..1757032 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.1 -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,10 +623,15 @@ fi %endif %changelog +* Fri Aug 20 2021 Rich Megginson - 1.8.1-2 +- selinux - tag tests_selinux_disabled.yml with tests::avc + Resolves rhbz#1996315 (EL9) + Resolves rhbz#1996317 (EL8) + * 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