public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: cups-browsed-and-similar: Ignore specific AVC denial
@ 2026-09-11 13:23 Therese Cornell
  0 siblings, 0 replies; only message in thread
From: Therese Cornell @ 2026-09-11 13:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : c49440dfb5d98b436ee0c38fbe55045b1cad3b26
            Author : Therese Cornell <tcornell@redhat.com>
            Date   : 2025-11-17T11:16:37-05:00
            Stats  : +6/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/c49440dfb5d98b436ee0c38fbe55045b1cad3b26?branch=pr775-checkpolicy-revdeps

            Log:
            cups-browsed-and-similar: Ignore specific AVC denial
on RHEL/centos-9 due to RHEL-47401

---
diff --git a/selinux-policy/cups-browsed-and-similar/runtest.sh b/selinux-policy/cups-browsed-and-similar/runtest.sh
index fc6e607..f6235dd 100755
--- a/selinux-policy/cups-browsed-and-similar/runtest.sh
+++ b/selinux-policy/cups-browsed-and-similar/runtest.sh
@@ -94,7 +94,12 @@ rlJournalStart
 
     rlPhaseStartCleanup
         sleep 2
-        rlSECheckAVC
+        # Ignore specific avc denial on rhel-9 due to RHEL-47401
+        if rlIsRHEL 9 || rlIsCentOS 9; then
+            rlSECheckAVC --ignore 'type=AVC.*comm=cups-browsed.*name=lpoptions.*scontext=.*:cupsd_t:.*tcontext=.*:admin_home_t:.*tclass=file'
+        else
+            rlSECheckAVC
+        fi
 
         rlFileRestore
         rlServiceRestore ${SERVICE_NAME}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:23 [tests/selinux] pr775-checkpolicy-revdeps: cups-browsed-and-similar: Ignore specific AVC denial Therese Cornell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox