public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milos Malik <mmalik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: do not start the hybrid-sleep / hibernate services by default
Date: Fri, 11 Sep 2026 13:19:24 GMT	[thread overview]
Message-ID: <178913276452.1.1854954505998948201.tests-selinux-8b594e7b591f@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-09-11 13:19 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=178913276452.1.1854954505998948201.tests-selinux-8b594e7b591f@fedoraproject.org \
    --to=mmalik@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