public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: Use "${PREFIX}/run/named" for context check
@ 2026-09-11 13:21 Zdenek Pytela
  0 siblings, 0 replies; only message in thread
From: Zdenek Pytela @ 2026-09-11 13:21 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : bbea4d16a352bf3702b646d82f361fcf95d6a7ad
            Author : Zdenek Pytela <zpytela@redhat.com>
            Date   : 2024-06-24T12:11:18+00:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/bbea4d16a352bf3702b646d82f361fcf95d6a7ad?branch=pr775-checkpolicy-revdeps

            Log:
            Use "${PREFIX}/run/named" for context check

Change context check from "${PREFIX}/var/run/named" to
"${PREFIX}/run/named" which matches the actual filesystem state
created and used by the bind-chroot service.

---
diff --git a/selinux-policy/bz562833-chrooted-named-file-contexts/runtest.sh b/selinux-policy/bz562833-chrooted-named-file-contexts/runtest.sh
index 1c88600..7b6ddd4 100755
--- a/selinux-policy/bz562833-chrooted-named-file-contexts/runtest.sh
+++ b/selinux-policy/bz562833-chrooted-named-file-contexts/runtest.sh
@@ -60,12 +60,12 @@ rlJournalStart
             rlSEMatchPathCon "${PREFIX}/dev/random" "random_device_t"
             rlSEMatchPathCon "${PREFIX}/dev/zero" "zero_device_t"
             rlSEMatchPathCon "${PREFIX}/etc/named.conf" "named_conf_t"
+            rlSEMatchPathCon "${PREFIX}/run/named" "named_var_run_t"
             rlSEMatchPathCon "${PREFIX}/var/log" "var_log_t"
             rlSEMatchPathCon "${PREFIX}/var/log/named.log" "named_log_t"
             rlSEMatchPathCon "${PREFIX}/var/named/data" "named_cache_t"
             rlSEMatchPathCon "${PREFIX}/var/named/slaves" "named_cache_t"
             rlSEMatchPathCon "${PREFIX}/var/named" "named_zone_t"
-            rlSEMatchPathCon "${PREFIX}/var/run/named" "named_var_run_t"
         done
     rlPhaseEnd
 

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

only message in thread, other threads:[~2026-09-11 13:21 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:21 [tests/selinux] pr775-checkpolicy-revdeps: Use "${PREFIX}/run/named" for context check Zdenek Pytela

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