public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Onderka <jonderka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: libselinux/setenforce test update audit-rules package dependency for RHEL10+ and making test fail if 'auditctl' is not present on the system
Date: Fri, 11 Sep 2026 13:23:28 GMT	[thread overview]
Message-ID: <178913300854.1.10004953150507669707.tests-selinux-8e7a591a84ac@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 8e7a591a84ac7f07728906b7ddbe315d79f88960
Author : Jan Onderka <jonderka@redhat.com>
Date   : 2025-12-18T16:20:58+01:00
Stats  : +5/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/tests/selinux/c/8e7a591a84ac7f07728906b7ddbe315d79f88960?branch=pr775-checkpolicy-revdeps

Log:
libselinux/setenforce test update audit-rules package dependency for RHEL10+ and making test fail if 'auditctl' is not present on the system

---
diff --git a/libselinux/setenforce/main.fmf b/libselinux/setenforce/main.fmf
index 900021b..c45ed37 100644
--- a/libselinux/setenforce/main.fmf
+++ b/libselinux/setenforce/main.fmf
@@ -26,6 +26,10 @@ adjust+:
   - enabled: false
     when: distro == rhel-4, rhel-5
     continue: false
+  - when: distro > rhel-9
+    recommend+:
+      - audit-rules
+    because: since RHEL 10 package audit was split and early packages have wrong dependency
 extra-nitrate: TC#0543754
 extra-summary: /CoreOS/libselinux/Sanity/setenforce
 extra-task: /CoreOS/libselinux/Sanity/setenforce

diff --git a/libselinux/setenforce/runtest.sh b/libselinux/setenforce/runtest.sh
index a4140d3..7bddb5d 100755
--- a/libselinux/setenforce/runtest.sh
+++ b/libselinux/setenforce/runtest.sh
@@ -50,6 +50,7 @@ rlJournalStart
     rlPhaseEnd
 
     rlPhaseStartTest "basic use"
+        rlRun "which auditctl" 0 "'auditctl' have to be present for proper functioning, failing test otherwise"
         START_DATE_TIME=`date "+%m/%d/%Y %T"`
         sleep 1
         rlRun "setenforce 1"

                 reply	other threads:[~2026-09-11 13:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178913300854.1.10004953150507669707.tests-selinux-8e7a591a84ac@fedoraproject.org \
    --to=jonderka@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox