Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.15.z] Remove BZ check which is migrated to Jira and Add new BZ check causing selinux denials #14056

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions tests/foreman/sys/test_pulp3_filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ def test_selinux_status(target_sat):

:expectedresults: SELinux is enabled and there are no denials

:customerscenario: true

:BZ: 2131031
:BZ: 2263294
"""
# check SELinux is enabled
result = target_sat.execute('getenforce')
assert 'Enforcing' in result.stdout
# check there are no SELinux denials
if not is_open('BZ:2131031'):
if not is_open('BZ:2263294'):
result = target_sat.execute('ausearch --input-logs -m avc -ts today --raw')
assert result.status == 1, 'Some SELinux denials were found in journal.'

Expand Down
Loading