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)
This commit is contained in:
Rich Megginson 2021-08-21 13:43:19 -06:00
parent d1ef6e6cb9
commit d16afec0fa

View File

@ -22,7 +22,7 @@ Name: linux-system-roles
Url: https://github.com/linux-system-roles Url: https://github.com/linux-system-roles
Summary: Set of interfaces for unified system management Summary: Set of interfaces for unified system management
Version: 1.8.3 Version: 1.8.3
Release: 1%{?dist} Release: 2%{?dist}
#Group: Development/Libraries #Group: Development/Libraries
License: GPLv3+ and MIT and BSD License: GPLv3+ and MIT and BSD
@ -284,6 +284,13 @@ for rolename in %{rolenames}; do
mv "$dir_from_archive" ${rolename} mv "$dir_from_archive" ${rolename}
done 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} cd %{rolename5}
%patch51 -p1 %patch51 -p1
%patch52 -p1 %patch52 -p1
@ -616,6 +623,11 @@ fi
%endif %endif
%changelog %changelog
* Thu Aug 26 2021 Rich Megginson <rmeggins@redhat.com> - 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 <rmeggins@redhat.com> - 1.8.3-1 * Thu Aug 26 2021 Rich Megginson <rmeggins@redhat.com> - 1.8.3-1
- storage - revert the dm-vdo workaround fix for vdo testing - storage - revert the dm-vdo workaround fix for vdo testing
Resolves rhbz#1978488 (EL9) Resolves rhbz#1978488 (EL9)
@ -629,7 +641,7 @@ fi
* Mon Aug 16 2021 Rich Megginson <rmeggins@redhat.com> - 1.8.1-1 * Mon Aug 16 2021 Rich Megginson <rmeggins@redhat.com> - 1.8.1-1
- metrics - the bpftrace role does not properly configure bpftrace agent - metrics - the bpftrace role does not properly configure bpftrace agent
Resolves rhbz#1994180 (EL9) Resolves rhbz#1994180 (EL9)
Resolves rhbz#1993240 (EL9) Resolves rhbz#1993240 (EL8)
* Thu Aug 12 2021 Rich Megginson <rmeggins@redhat.com> - 1.8.0-1 * Thu Aug 12 2021 Rich Megginson <rmeggins@redhat.com> - 1.8.0-1
- drop support for Ansible 2.8 - min_ansible_version is now 2.9 - drop support for Ansible 2.8 - min_ansible_version is now 2.9