public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Amith Kumar <apeetham@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: Fix rhel-9 avc causing deny_rules test failure
Date: Fri, 11 Sep 2026 13:22:57 GMT [thread overview]
Message-ID: <178913297705.1.2720521504253411592.tests-selinux-4a8550185cdf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 4a8550185cdf1387d6aced4336fde1299cad948d
Author : Amith Kumar <apeetham@redhat.com>
Date : 2025-06-13T05:16:33+05:30
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/4a8550185cdf1387d6aced4336fde1299cad948d?branch=pr775-checkpolicy-revdeps
Log:
Fix rhel-9 avc causing deny_rules test failure
The upstream selinux-policy/deny-rules test suite failed during its run
on rhel-9. Cause of failure is an AVC denial triggered by modprobe
command while executing module_load. Fix the test code to address the
AVC & test failure.
Signed-off-by: Amith Kumar <apeetham@redhat.com>
---
diff --git a/selinux-policy/deny-rules/runtest.sh b/selinux-policy/deny-rules/runtest.sh
index 36b5bbc..3464738 100755
--- a/selinux-policy/deny-rules/runtest.sh
+++ b/selinux-policy/deny-rules/runtest.sh
@@ -137,7 +137,7 @@ rlJournalStart
rlRun "rm -f /etc/ssh/sshd_config.d/001-enable-password.conf"
fi
rlRun "service sshd restart"
- rlSECheckAVC --ignore 'type=AVC .* denied { unlink } .* comm=rm .*:sysadm_t:.*:machineid_t:.*tclass=file' --ignore 'type=AVC .* denied { module_load } .* comm=modprobe .*:kmod_t:.*:modules_object_t:.*tclass=system'
+ rlSECheckAVC --ignore 'type=AVC .* denied { unlink } .* comm=rm .*:sysadm_t:.*:machineid_t:.*tclass=file' --ignore 'type=AVC .* denied { module_load } .* comm=modprobe .*:kmod_t:.*:modules_object_t:.*tclass=system' --ignore 'type=AVC.*module_load.*:kmod_t:.*:kmod_t:.*tclass=system'
rlPhaseEnd
rlJournalEnd
reply other threads:[~2026-09-11 13:22 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=178913297705.1.2720521504253411592.tests-selinux-4a8550185cdf@fedoraproject.org \
--to=apeetham@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