public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: do not start the hybrid-sleep / hibernate services by default
@ 2026-09-11 13:19 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 8b594e7b591f7e0fb778c301c6932cee4a379fc1
Author : Milos Malik <mmalik@redhat.com>
Date : 2021-09-30T11:39:04+02:00
Stats : +5/-1 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/8b594e7b591f7e0fb778c301c6932cee4a379fc1?branch=pr775-checkpolicy-revdeps
Log:
do not start the hybrid-sleep / hibernate services by default
Some machines do not survive the start of systemd-hybrid-sleep or
systemd-hibernate services, even though their configuration contains
PrivateDevices=yes. They simply do not wake up.
To avoid such problems, one of the test phases will not be executed
unless the environment variable REAL_SCENARIOS is set to true.
---
diff --git a/selinux-policy/swap-file-and-systemd-access/runtest.sh b/selinux-policy/swap-file-and-systemd-access/runtest.sh
index 430defb..76c651a 100755
--- a/selinux-policy/swap-file-and-systemd-access/runtest.sh
+++ b/selinux-policy/swap-file-and-systemd-access/runtest.sh
@@ -30,7 +30,11 @@
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="selinux-policy"
-REAL_SCENARIOS=${REAL_SCENARIOS:-true}
+# The real scenario phase is not executed by default, because some
+# machines do not survive the start of systemd-hybrid-sleep or
+# systemd-hibernate services, even though their configuration contains
+# PrivateDevices=yes. Override is possible by setting REAL_SCENARIOS=true.
+REAL_SCENARIOS=${REAL_SCENARIOS:-false}
rlJournalStart
if ! seinfo -t | grep -q systemd_sleep ; then
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:19 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:19 [tests/selinux] pr775-checkpolicy-revdeps: do not start the hybrid-sleep / hibernate services by default Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox