public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: enable the systemd-homed service before using it
@ 2026-09-11 13:20 Milos Malik
  0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:20 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 9b3bfcded4184e718aadd00c9decdc55858d3cfb
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2023-02-02T15:02:44+00:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/9b3bfcded4184e718aadd00c9decdc55858d3cfb?branch=pr775-checkpolicy-revdeps

            Log:
            enable the systemd-homed service before using it

The systemd-homed service is disabled by default. If the TC should
succeed, the service needs to be enabled.

---
diff --git a/selinux-policy/systemd-homed/runtest.sh b/selinux-policy/systemd-homed/runtest.sh
index d95a340..5534668 100755
--- a/selinux-policy/systemd-homed/runtest.sh
+++ b/selinux-policy/systemd-homed/runtest.sh
@@ -125,6 +125,7 @@ rlJournalStart
         rlSEStatus
         rlSESetTimestamp
         sleep 2
+        rlRun "systemctl enable systemd-homed"
     rlPhaseEnd
 
     rlPhaseStartTest "homectl create"
@@ -216,6 +217,7 @@ rlJournalStart
     rlPhaseEnd
 
     rlPhaseStartCleanup
+        rlRun "systemctl disable systemd-homed"
         sleep 2
         rlSECheckAVC
         rlRun "rm -f /tmp/avcfile"

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

only message in thread, other threads:[~2026-09-11 13:20 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:20 [tests/selinux] pr775-checkpolicy-revdeps: enable the systemd-homed service before using it Milos Malik

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