Project

General

Profile

Actions

action #126815

closed

[security][alp] test fails in audit2allow in selinux tests

Added by tjyrinki_suse about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2023-03-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Tags:

Description

openQA test in scenario alp-micro-0.1-Default-x86_64-selinux@uefi fails in
audit2allow

It used to pass in https://openqa.opensuse.org/tests/3193154 but stared failing in 2.3.

From Johannes:
validate_script_output("audit2allow -a", sub { m/allow\ ._t\ .;.*/sx });
this fails for audit2allow
since there's no deny
the next line will work
you need to special case this

Acceptance Criteria

  1. Fix the test, maybe by removing the fake denial addition in ALP special case which was a bit silly in the first place, and simply modify the expectation to be the current ALP behavior in final March prototype
Actions

Also available in: Atom PDF