public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: fix the tests which fail on CentOS-stream-10
@ 2026-09-11 13:21 Milos Malik
0 siblings, 0 replies; only message in thread
From: Milos Malik @ 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 : 26a276d5c97f001a9abbced51aa4aff31e49bc6d
Author : Milos Malik <mmalik@redhat.com>
Date : 2024-04-04T16:35:36+00:00
Stats : +92/-96 in 90 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/26a276d5c97f001a9abbced51aa4aff31e49bc6d?branch=pr775-checkpolicy-revdeps
Log:
fix the tests which fail on CentOS-stream-10
The rlImport command fails in many tests because the epel-release
package is not available for RHEL-10 or CentOS-stream-10 yet.
As a workaround, an additional exit code 1 is accepted now.
---
diff --git a/checkpolicy/sedismod/runtest.sh b/checkpolicy/sedismod/runtest.sh
index 8227ccb..27de54e 100755
--- a/checkpolicy/sedismod/runtest.sh
+++ b/checkpolicy/sedismod/runtest.sh
@@ -31,7 +31,7 @@
PACKAGE="checkpolicy"
# TODO: repeat for all policy modules that are installed under /etc/selinux
-if rlIsFedora ; then
+if rlIsFedora || rlIsCentOS ; then
POLICY_FILE="`find /var/lib/selinux/targeted -type d -name base`/hll"
elif rlIsRHEL '<7.3' ; then
POLICY_FILE=`find /etc/selinux/targeted -type f -name base.pp`
@@ -43,7 +43,7 @@ rlJournalStart
rlPhaseStartSetup
rlAssertRpm ${PACKAGE}
OUTPUT_FILE=`mktemp`
- if rlIsRHEL '>=7.3' || rlIsFedora ; then
+ if rlIsRHEL '>=7.3' || rlIsCentOS || rlIsFedora ; then
rlRun "semodule -H -E base"
else
rlRun "cp ${POLICY_FILE} ./base.pp.bz2"
diff --git a/libselinux/validatetrans/runtest.sh b/libselinux/validatetrans/runtest.sh
index b38050d..5b86d48 100755
--- a/libselinux/validatetrans/runtest.sh
+++ b/libselinux/validatetrans/runtest.sh
@@ -40,7 +40,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlAssertRpm ${PACKAGE}
rlRun "rpm -qf `which validatetrans`"
rlRun "rpm -qf `which seinfo`"
diff --git a/selinux-policy/Library/common/runtest.sh b/selinux-policy/Library/common/runtest.sh
index 124e96a..9f2f5a9 100755
--- a/selinux-policy/Library/common/runtest.sh
+++ b/selinux-policy/Library/common/runtest.sh
@@ -16,7 +16,7 @@ rlIsRHEL 5 && {
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport selinux-policy/common"
+ rlRun "rlImport selinux-policy/common" 0,1
rlRun "uname -a"
rlRun "sestatus"
rlPhaseEnd
diff --git a/selinux-policy/ModemManager-and-similar/runtest.sh b/selinux-policy/ModemManager-and-similar/runtest.sh
index a3d0348..bba63cb 100755
--- a/selinux-policy/ModemManager-and-similar/runtest.sh
+++ b/selinux-policy/ModemManager-and-similar/runtest.sh
@@ -45,7 +45,7 @@ PROCESS_CONTEXT="modemmanager_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/accounts-daemon-and-similar/runtest.sh b/selinux-policy/accounts-daemon-and-similar/runtest.sh
index 38ea62c..662d1c6 100755
--- a/selinux-policy/accounts-daemon-and-similar/runtest.sh
+++ b/selinux-policy/accounts-daemon-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="accountsd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/acpid-and-similar/runtest.sh b/selinux-policy/acpid-and-similar/runtest.sh
index 52e751d..b24fa65 100755
--- a/selinux-policy/acpid-and-similar/runtest.sh
+++ b/selinux-policy/acpid-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="apmd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/anon_inode-and-similar/runtest.sh b/selinux-policy/anon_inode-and-similar/runtest.sh
index ea0818c..762a788 100755
--- a/selinux-policy/anon_inode-and-similar/runtest.sh
+++ b/selinux-policy/anon_inode-and-similar/runtest.sh
@@ -48,7 +48,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/bgpd-and-similar/runtest.sh b/selinux-policy/bgpd-and-similar/runtest.sh
index c248b5e..8d9e844 100755
--- a/selinux-policy/bgpd-and-similar/runtest.sh
+++ b/selinux-policy/bgpd-and-similar/runtest.sh
@@ -44,7 +44,7 @@ fi
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/blueman-and-similar/runtest.sh b/selinux-policy/blueman-and-similar/runtest.sh
index 2530481..7c0c15c 100755
--- a/selinux-policy/blueman-and-similar/runtest.sh
+++ b/selinux-policy/blueman-and-similar/runtest.sh
@@ -46,7 +46,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/boinc-and-similar/runtest.sh b/selinux-policy/boinc-and-similar/runtest.sh
index d58f467..ab2647c 100755
--- a/selinux-policy/boinc-and-similar/runtest.sh
+++ b/selinux-policy/boinc-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="boinc_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/boltd-and-similar/runtest.sh b/selinux-policy/boltd-and-similar/runtest.sh
index f3c9a37..5e7ddb1 100755
--- a/selinux-policy/boltd-and-similar/runtest.sh
+++ b/selinux-policy/boltd-and-similar/runtest.sh
@@ -42,7 +42,7 @@ DENIED_USERS="guest_u"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/bootupd-and-similar/runtest.sh b/selinux-policy/bootupd-and-similar/runtest.sh
index f639e12..3fdddda 100755
--- a/selinux-policy/bootupd-and-similar/runtest.sh
+++ b/selinux-policy/bootupd-and-similar/runtest.sh
@@ -44,7 +44,7 @@ fi
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/bz481628-send-msg-to-dbus/runtest.sh b/selinux-policy/bz481628-send-msg-to-dbus/runtest.sh
index c0e7719..d5df5ec 100755
--- a/selinux-policy/bz481628-send-msg-to-dbus/runtest.sh
+++ b/selinux-policy/bz481628-send-msg-to-dbus/runtest.sh
@@ -44,7 +44,7 @@ PROCESS_CONTEXT="system_dbusd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/bz533007-unable-to-start-kdump-service/runtest.sh b/selinux-policy/bz533007-unable-to-start-kdump-service/runtest.sh
index fd3ec10..5a7c57c 100755
--- a/selinux-policy/bz533007-unable-to-start-kdump-service/runtest.sh
+++ b/selinux-policy/bz533007-unable-to-start-kdump-service/runtest.sh
@@ -39,7 +39,7 @@ PACKAGE="selinux-policy"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-mls
diff --git a/selinux-policy/bz538089-plymouth-operations-denied-during-boot/runtest.sh b/selinux-policy/bz538089-plymouth-operations-denied-during-boot/runtest.sh
index 5b11531..005926b 100755
--- a/selinux-policy/bz538089-plymouth-operations-denied-during-boot/runtest.sh
+++ b/selinux-policy/bz538089-plymouth-operations-denied-during-boot/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="plymouthd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/bz562833-chrooted-named-file-contexts/runtest.sh b/selinux-policy/bz562833-chrooted-named-file-contexts/runtest.sh
index 69a2743..1c88600 100755
--- a/selinux-policy/bz562833-chrooted-named-file-contexts/runtest.sh
+++ b/selinux-policy/bz562833-chrooted-named-file-contexts/runtest.sh
@@ -34,7 +34,7 @@ ROOT_PASSWORD="redhat"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/bz624405-pcsc-and-similar/runtest.sh b/selinux-policy/bz624405-pcsc-and-similar/runtest.sh
index 29d27e5..0093aa4 100755
--- a/selinux-policy/bz624405-pcsc-and-similar/runtest.sh
+++ b/selinux-policy/bz624405-pcsc-and-similar/runtest.sh
@@ -37,7 +37,7 @@ PROCESS_NAME="pcscd"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-mls
diff --git a/selinux-policy/bz733494-amanda-and-similar/runtest.sh b/selinux-policy/bz733494-amanda-and-similar/runtest.sh
index a5db0a8..bb1aec9 100755
--- a/selinux-policy/bz733494-amanda-and-similar/runtest.sh
+++ b/selinux-policy/bz733494-amanda-and-similar/runtest.sh
@@ -45,7 +45,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/caddy-and-similar/runtest.sh b/selinux-policy/caddy-and-similar/runtest.sh
index 69ff27c..39f8301 100755
--- a/selinux-policy/caddy-and-similar/runtest.sh
+++ b/selinux-policy/caddy-and-similar/runtest.sh
@@ -36,7 +36,7 @@ PROCESS_CONTEXT="httpd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/capability2-class/runtest.sh b/selinux-policy/capability2-class/runtest.sh
index e81eec7..73e7d37 100755
--- a/selinux-policy/capability2-class/runtest.sh
+++ b/selinux-policy/capability2-class/runtest.sh
@@ -33,7 +33,7 @@ PACKAGE="selinux-policy"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/chronyd-and-similar/runtest.sh b/selinux-policy/chronyd-and-similar/runtest.sh
index d469f05..fb399f4 100755
--- a/selinux-policy/chronyd-and-similar/runtest.sh
+++ b/selinux-policy/chronyd-and-similar/runtest.sh
@@ -42,7 +42,7 @@ CHRONYD_RESTRICTED_UNIT_DROPIN_FILE="${CHRONYD_RESTRICTED_UNIT_DROPIN_DIR}/conte
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/cockpit-ws-and-similar/runtest.sh b/selinux-policy/cockpit-ws-and-similar/runtest.sh
index 3a17767..0dbc556 100755
--- a/selinux-policy/cockpit-ws-and-similar/runtest.sh
+++ b/selinux-policy/cockpit-ws-and-similar/runtest.sh
@@ -44,7 +44,7 @@ PROCESS_CONTEXT="cockpit_ws_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/colord-and-similar/runtest.sh b/selinux-policy/colord-and-similar/runtest.sh
index 9cd88f0..ff2ced5 100755
--- a/selinux-policy/colord-and-similar/runtest.sh
+++ b/selinux-policy/colord-and-similar/runtest.sh
@@ -40,7 +40,7 @@ DENIED_USERS=${DENIED_USERS:-"guest_u xguest_u"}
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/cups-browsed-and-similar/runtest.sh b/selinux-policy/cups-browsed-and-similar/runtest.sh
index 8db13de..0a0a5e0 100755
--- a/selinux-policy/cups-browsed-and-similar/runtest.sh
+++ b/selinux-policy/cups-browsed-and-similar/runtest.sh
@@ -39,9 +39,9 @@ PROCESS_CONTEXT="cupsd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
- SERVICE_PACKAGE=`rpm -qf ${FILE_PATH}`
+ SERVICE_PACKAGE=`rpm -qf ${FILE_PATH} | head -n 1`
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
rlAssertRpm ${SERVICE_PACKAGE}
diff --git a/selinux-policy/cups-lpd-and-similar/runtest.sh b/selinux-policy/cups-lpd-and-similar/runtest.sh
index 7669790..ede77b9 100755
--- a/selinux-policy/cups-lpd-and-similar/runtest.sh
+++ b/selinux-policy/cups-lpd-and-similar/runtest.sh
@@ -39,7 +39,7 @@ PROCESS_CONTEXT="cupsd_lpd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/cups-pdf-and-similar/runtest.sh b/selinux-policy/cups-pdf-and-similar/runtest.sh
index cfbd105..0e2613e 100755
--- a/selinux-policy/cups-pdf-and-similar/runtest.sh
+++ b/selinux-policy/cups-pdf-and-similar/runtest.sh
@@ -47,7 +47,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/dhclient-and-similar/runtest.sh b/selinux-policy/dhclient-and-similar/runtest.sh
index 1b448e4..b6b920c 100755
--- a/selinux-policy/dhclient-and-similar/runtest.sh
+++ b/selinux-policy/dhclient-and-similar/runtest.sh
@@ -37,7 +37,7 @@ rlJournalStart
rlLog "If this test fails, please contact mmalik on IRC #selinux"
rlLog "This test should fail if tested bugs are NOT fixed yet"
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/dhcpcd-and-similar/runtest.sh b/selinux-policy/dhcpcd-and-similar/runtest.sh
index ca7370e..f1fb91c 100755
--- a/selinux-policy/dhcpcd-and-similar/runtest.sh
+++ b/selinux-policy/dhcpcd-and-similar/runtest.sh
@@ -46,7 +46,7 @@ rlJournalStart
exit 0
fi
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/dmidecode-and-similar/runtest.sh b/selinux-policy/dmidecode-and-similar/runtest.sh
index 3b3d0bf..3abba0d 100755
--- a/selinux-policy/dmidecode-and-similar/runtest.sh
+++ b/selinux-policy/dmidecode-and-similar/runtest.sh
@@ -35,7 +35,7 @@ DENIED_USERS=${DENIED_USERS:-"staff_u user_u guest_u xguest_u"}
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/exim-and-similar/runtest.sh b/selinux-policy/exim-and-similar/runtest.sh
index 27750e3..7a422c0 100755
--- a/selinux-policy/exim-and-similar/runtest.sh
+++ b/selinux-policy/exim-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="exim_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/fapolicyd-and-similar/runtest.sh b/selinux-policy/fapolicyd-and-similar/runtest.sh
index 1d532eb..77549b1 100755
--- a/selinux-policy/fapolicyd-and-similar/runtest.sh
+++ b/selinux-policy/fapolicyd-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="fapolicyd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/fedora-third-party-and-similar/runtest.sh b/selinux-policy/fedora-third-party-and-similar/runtest.sh
index 0903a5e..7c136a9 100755
--- a/selinux-policy/fedora-third-party-and-similar/runtest.sh
+++ b/selinux-policy/fedora-third-party-and-similar/runtest.sh
@@ -45,7 +45,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/firewalld-and-similar/runtest.sh b/selinux-policy/firewalld-and-similar/runtest.sh
index be3e640..f0beb41 100755
--- a/selinux-policy/firewalld-and-similar/runtest.sh
+++ b/selinux-policy/firewalld-and-similar/runtest.sh
@@ -38,7 +38,7 @@ PROCESS_CONTEXT="firewalld_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/fwupd-and-similar/runtest.sh b/selinux-policy/fwupd-and-similar/runtest.sh
index ae0fac8..f150b15 100755
--- a/selinux-policy/fwupd-and-similar/runtest.sh
+++ b/selinux-policy/fwupd-and-similar/runtest.sh
@@ -42,7 +42,7 @@ DENIED_USERS=${DENIED_USERS:-"guest_u xguest_u"}
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/getrlimit-permission/runtest.sh b/selinux-policy/getrlimit-permission/runtest.sh
index d1313eb..9d4ee00 100755
--- a/selinux-policy/getrlimit-permission/runtest.sh
+++ b/selinux-policy/getrlimit-permission/runtest.sh
@@ -33,7 +33,7 @@ PACKAGE="selinux-policy"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/hostapd-and-similar/runtest.sh b/selinux-policy/hostapd-and-similar/runtest.sh
index 9947d64..d2b2bbd 100755
--- a/selinux-policy/hostapd-and-similar/runtest.sh
+++ b/selinux-policy/hostapd-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="hostapd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/icecast-and-similar/runtest.sh b/selinux-policy/icecast-and-similar/runtest.sh
index 36b3ded..04a6bb3 100755
--- a/selinux-policy/icecast-and-similar/runtest.sh
+++ b/selinux-policy/icecast-and-similar/runtest.sh
@@ -46,7 +46,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/install-uninstall-dsp-packages/runtest.sh b/selinux-policy/install-uninstall-dsp-packages/runtest.sh
index 058619f..571a4d0 100755
--- a/selinux-policy/install-uninstall-dsp-packages/runtest.sh
+++ b/selinux-policy/install-uninstall-dsp-packages/runtest.sh
@@ -95,7 +95,7 @@ fi
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESetEnforce
rlSEStatus
rlSESetTimestamp
diff --git a/selinux-policy/journalctl-and-similar/runtest.sh b/selinux-policy/journalctl-and-similar/runtest.sh
index 8a85859..2f9dc81 100755
--- a/selinux-policy/journalctl-and-similar/runtest.sh
+++ b/selinux-policy/journalctl-and-similar/runtest.sh
@@ -40,7 +40,7 @@ DENIED_USERS=${DENIED_USERS:-"guest_u xguest_u"}
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/kerberos-and-similar/runtest.sh b/selinux-policy/kerberos-and-similar/runtest.sh
index ce2c4f6..6f5139e 100755
--- a/selinux-policy/kerberos-and-similar/runtest.sh
+++ b/selinux-policy/kerberos-and-similar/runtest.sh
@@ -34,7 +34,7 @@ ROOT_PASSWORD="redhat"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/kernel-confined-exec/runtest.sh b/selinux-policy/kernel-confined-exec/runtest.sh
index 2694fb1..274e0a0 100755
--- a/selinux-policy/kernel-confined-exec/runtest.sh
+++ b/selinux-policy/kernel-confined-exec/runtest.sh
@@ -22,7 +22,7 @@ function trigger_modprobe() {
rlJournalStart
rlPhaseStartSetup
- rlImport 'selinux-policy/common'
+ rlImport 'selinux-policy/common' 0,1
rlAssertRpm selinux-policy
rlAssertRpm selinux-policy-targeted
diff --git a/selinux-policy/ksm-and-similar/runtest.sh b/selinux-policy/ksm-and-similar/runtest.sh
index 2d26a1f..29d93d9 100755
--- a/selinux-policy/ksm-and-similar/runtest.sh
+++ b/selinux-policy/ksm-and-similar/runtest.sh
@@ -44,7 +44,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/ladvd/runtest.sh b/selinux-policy/ladvd/runtest.sh
index 7c057b7..4af6367 100755
--- a/selinux-policy/ladvd/runtest.sh
+++ b/selinux-policy/ladvd/runtest.sh
@@ -38,7 +38,7 @@ rlJournalStart
exit 0
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/logwatch-and-similar/runtest.sh b/selinux-policy/logwatch-and-similar/runtest.sh
index a152d4d..016d5a8 100755
--- a/selinux-policy/logwatch-and-similar/runtest.sh
+++ b/selinux-policy/logwatch-and-similar/runtest.sh
@@ -38,7 +38,7 @@ PROCESS_CONTEXT="logwatch_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/nasd-and-similar/runtest.sh b/selinux-policy/nasd-and-similar/runtest.sh
index 0e0a784..8f312ca 100755
--- a/selinux-policy/nasd-and-similar/runtest.sh
+++ b/selinux-policy/nasd-and-similar/runtest.sh
@@ -46,7 +46,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/nfsdcld-and-similar/runtest.sh b/selinux-policy/nfsdcld-and-similar/runtest.sh
index a97e694..51b1b9f 100755
--- a/selinux-policy/nfsdcld-and-similar/runtest.sh
+++ b/selinux-policy/nfsdcld-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="rpcd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/ntpsec-and-similar/runtest.sh b/selinux-policy/ntpsec-and-similar/runtest.sh
index 78a64a6..355bf1f 100755
--- a/selinux-policy/ntpsec-and-similar/runtest.sh
+++ b/selinux-policy/ntpsec-and-similar/runtest.sh
@@ -39,7 +39,7 @@ PROCESS_CONTEXT="ntpd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/numad-and-similar/runtest.sh b/selinux-policy/numad-and-similar/runtest.sh
index d6996f0..77c1b8e 100755
--- a/selinux-policy/numad-and-similar/runtest.sh
+++ b/selinux-policy/numad-and-similar/runtest.sh
@@ -37,7 +37,7 @@ PROCESS_CONTEXT="numad_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/nvme-stas-and-similar/runtest.sh b/selinux-policy/nvme-stas-and-similar/runtest.sh
index ac5dd29..029512f 100755
--- a/selinux-policy/nvme-stas-and-similar/runtest.sh
+++ b/selinux-policy/nvme-stas-and-similar/runtest.sh
@@ -36,7 +36,7 @@ PROCESS_CONTEXT="nvme_stas_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/opensmtpd-and-similar/runtest.sh b/selinux-policy/opensmtpd-and-similar/runtest.sh
index e397a87..3fe0ce5 100755
--- a/selinux-policy/opensmtpd-and-similar/runtest.sh
+++ b/selinux-policy/opensmtpd-and-similar/runtest.sh
@@ -39,7 +39,7 @@ PROCESS_CONTEXT="sendmail_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/pam_console-and-related/runtest.sh b/selinux-policy/pam_console-and-related/runtest.sh
index 05c8796..20941d0 100755
--- a/selinux-policy/pam_console-and-related/runtest.sh
+++ b/selinux-policy/pam_console-and-related/runtest.sh
@@ -41,7 +41,7 @@ fi
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/pam_limits-and-related/runtest.sh b/selinux-policy/pam_limits-and-related/runtest.sh
index 3eeb144..dc56fa8 100755
--- a/selinux-policy/pam_limits-and-related/runtest.sh
+++ b/selinux-policy/pam_limits-and-related/runtest.sh
@@ -36,7 +36,7 @@ ALLOWED_USERS=${ALLOWED_USERS:-"guest_u xguest_u user_u staff_u sysadm_u unconfi
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/pam_timestamp-and-related/runtest.sh b/selinux-policy/pam_timestamp-and-related/runtest.sh
index 22521a0..1d1c61b 100755
--- a/selinux-policy/pam_timestamp-and-related/runtest.sh
+++ b/selinux-policy/pam_timestamp-and-related/runtest.sh
@@ -37,7 +37,7 @@ TIMESTAMP_DIR=${TIMESTAMP_DIR:-"/run/pam_timestamp"}
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/pcp-daemons-and-similar/runtest.sh b/selinux-policy/pcp-daemons-and-similar/runtest.sh
index 94b5693..69dd098 100755
--- a/selinux-policy/pcp-daemons-and-similar/runtest.sh
+++ b/selinux-policy/pcp-daemons-and-similar/runtest.sh
@@ -70,7 +70,7 @@ fi
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/perf_event-and-related/runtest.sh b/selinux-policy/perf_event-and-related/runtest.sh
index 84b4c1e..6051731 100755
--- a/selinux-policy/perf_event-and-related/runtest.sh
+++ b/selinux-policy/perf_event-and-related/runtest.sh
@@ -35,7 +35,7 @@ rlJournalStart
rlLog "If this test fails, please contact mmalik on IRC #selinux"
rlLog "This test should fail if tested bugs are NOT fixed yet"
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
rlAssertRpm perf
diff --git a/selinux-policy/ping-and-similar/runtest.sh b/selinux-policy/ping-and-similar/runtest.sh
index 004b259..3037afd 100755
--- a/selinux-policy/ping-and-similar/runtest.sh
+++ b/selinux-policy/ping-and-similar/runtest.sh
@@ -38,7 +38,7 @@ PROCESS_CONTEXT="ping_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/policykit-general/runtest.sh b/selinux-policy/policykit-general/runtest.sh
index e89eefc..32a2c6b 100755
--- a/selinux-policy/policykit-general/runtest.sh
+++ b/selinux-policy/policykit-general/runtest.sh
@@ -43,7 +43,7 @@ fi
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/rngd-and-similar/runtest.sh b/selinux-policy/rngd-and-similar/runtest.sh
index 4401f0d..e88d2a8 100755
--- a/selinux-policy/rngd-and-similar/runtest.sh
+++ b/selinux-policy/rngd-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="rngd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/rpc.idmapd-and-similar/runtest.sh b/selinux-policy/rpc.idmapd-and-similar/runtest.sh
index b4d7218..e79d688 100755
--- a/selinux-policy/rpc.idmapd-and-similar/runtest.sh
+++ b/selinux-policy/rpc.idmapd-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="rpcd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/rpmdb-and-similar/runtest.sh b/selinux-policy/rpmdb-and-similar/runtest.sh
index 5c33f74..dda6a92 100755
--- a/selinux-policy/rpmdb-and-similar/runtest.sh
+++ b/selinux-policy/rpmdb-and-similar/runtest.sh
@@ -45,7 +45,7 @@ rlJournalStart
rlLog "If this test fails, please contact mmalik or IRC #selinux"
rlLog "This test should fail if tested bugs are NOT fixed yet"
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/rrdcached-service-and-related/runtest.sh b/selinux-policy/rrdcached-service-and-related/runtest.sh
index bd201e4..b6dfec0 100755
--- a/selinux-policy/rrdcached-service-and-related/runtest.sh
+++ b/selinux-policy/rrdcached-service-and-related/runtest.sh
@@ -44,7 +44,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlAssertRpm $PACKAGE
rlAssertRpm $SERVICE_PACKAGE
rlSESetEnforce
diff --git a/selinux-policy/rsyslog-and-similar/runtest.sh b/selinux-policy/rsyslog-and-similar/runtest.sh
index edda98d..ee1b641 100755
--- a/selinux-policy/rsyslog-and-similar/runtest.sh
+++ b/selinux-policy/rsyslog-and-similar/runtest.sh
@@ -64,7 +64,7 @@ EOF
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/rtkit-daemon-and-similar/runtest.sh b/selinux-policy/rtkit-daemon-and-similar/runtest.sh
index 6cf0153..b618d26 100755
--- a/selinux-policy/rtkit-daemon-and-similar/runtest.sh
+++ b/selinux-policy/rtkit-daemon-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="rtkit_daemon_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/smbcontrol-and-similar/runtest.sh b/selinux-policy/smbcontrol-and-similar/runtest.sh
index 02d9bc7..9e8a384 100755
--- a/selinux-policy/smbcontrol-and-similar/runtest.sh
+++ b/selinux-policy/smbcontrol-and-similar/runtest.sh
@@ -42,7 +42,7 @@ PROCESS_CONTEXT="smbcontrol_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/snapd-and-similar/runtest.sh b/selinux-policy/snapd-and-similar/runtest.sh
index a644221..e9e39e0 100755
--- a/selinux-policy/snapd-and-similar/runtest.sh
+++ b/selinux-policy/snapd-and-similar/runtest.sh
@@ -39,7 +39,7 @@ PROCESS_CONTEXT="snappy_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/sslh-and-similar/runtest.sh b/selinux-policy/sslh-and-similar/runtest.sh
index 6803188..0ff50e0 100755
--- a/selinux-policy/sslh-and-similar/runtest.sh
+++ b/selinux-policy/sslh-and-similar/runtest.sh
@@ -46,7 +46,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/stalld-and-similar/runtest.sh b/selinux-policy/stalld-and-similar/runtest.sh
index 90f86ef..e0d7696 100755
--- a/selinux-policy/stalld-and-similar/runtest.sh
+++ b/selinux-policy/stalld-and-similar/runtest.sh
@@ -45,7 +45,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/sudo-and-dnf/runtest.sh b/selinux-policy/sudo-and-dnf/runtest.sh
index 716001d..cc9cafd 100755
--- a/selinux-policy/sudo-and-dnf/runtest.sh
+++ b/selinux-policy/sudo-and-dnf/runtest.sh
@@ -33,7 +33,7 @@ PACKAGE="selinux-policy"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/swap-file-and-systemd-access/runtest.sh b/selinux-policy/swap-file-and-systemd-access/runtest.sh
index 4dc1413..3c04729 100755
--- a/selinux-policy/swap-file-and-systemd-access/runtest.sh
+++ b/selinux-policy/swap-file-and-systemd-access/runtest.sh
@@ -41,7 +41,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/synce4l-and-similar/runtest.sh b/selinux-policy/synce4l-and-similar/runtest.sh
index 01529a5..a0be444 100755
--- a/selinux-policy/synce4l-and-similar/runtest.sh
+++ b/selinux-policy/synce4l-and-similar/runtest.sh
@@ -39,7 +39,7 @@ PROCESS_CONTEXT="unconfined_service_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-bootchart-and-similar/runtest.sh b/selinux-policy/systemd-bootchart-and-similar/runtest.sh
index 362b6a2..7c41cc4 100755
--- a/selinux-policy/systemd-bootchart-and-similar/runtest.sh
+++ b/selinux-policy/systemd-bootchart-and-similar/runtest.sh
@@ -50,7 +50,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-creds/runtest.sh b/selinux-policy/systemd-creds/runtest.sh
index 227e890..6b66567 100755
--- a/selinux-policy/systemd-creds/runtest.sh
+++ b/selinux-policy/systemd-creds/runtest.sh
@@ -34,7 +34,7 @@ SERVICE_PACKAGE="systemd"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-generators/runtest.sh b/selinux-policy/systemd-generators/runtest.sh
index 411a238..3da5533 100755
--- a/selinux-policy/systemd-generators/runtest.sh
+++ b/selinux-policy/systemd-generators/runtest.sh
@@ -42,7 +42,7 @@ SD_SYSTEM_GENERATORS=""
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-homed/runtest.sh b/selinux-policy/systemd-homed/runtest.sh
index c408608..36eb6c5 100755
--- a/selinux-policy/systemd-homed/runtest.sh
+++ b/selinux-policy/systemd-homed/runtest.sh
@@ -116,7 +116,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE1}
rlAssertRpm ${PACKAGE1}-targeted
diff --git a/selinux-policy/systemd-localed/runtest.sh b/selinux-policy/systemd-localed/runtest.sh
index e104b55..4d6b5d3 100755
--- a/selinux-policy/systemd-localed/runtest.sh
+++ b/selinux-policy/systemd-localed/runtest.sh
@@ -7,7 +7,7 @@ SERVICE_PACKAGE="systemd"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
rlAssertRpm ${SERVICE_PACKAGE}
diff --git a/selinux-policy/systemd-machined-and-similar/runtest.sh b/selinux-policy/systemd-machined-and-similar/runtest.sh
index 9a4fa7b..54b3bb2 100755
--- a/selinux-policy/systemd-machined-and-similar/runtest.sh
+++ b/selinux-policy/systemd-machined-and-similar/runtest.sh
@@ -45,7 +45,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-modules-load-and-similar/runtest.sh b/selinux-policy/systemd-modules-load-and-similar/runtest.sh
index 8ffe27e..a7a862c 100755
--- a/selinux-policy/systemd-modules-load-and-similar/runtest.sh
+++ b/selinux-policy/systemd-modules-load-and-similar/runtest.sh
@@ -41,7 +41,7 @@ KERNEL_MODULE="nf_conntrack_pptp"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-notify-and-similar/runtest.sh b/selinux-policy/systemd-notify-and-similar/runtest.sh
index d9cfbe7..2a5a9d8 100755
--- a/selinux-policy/systemd-notify-and-similar/runtest.sh
+++ b/selinux-policy/systemd-notify-and-similar/runtest.sh
@@ -41,7 +41,7 @@ rlJournalStart
rlLog "If this test fails, please contact mmalik on IRC #selinux"
rlLog "This test should fail if tested bugs are NOT fixed yet"
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-rfkill-and-similar/runtest.sh b/selinux-policy/systemd-rfkill-and-similar/runtest.sh
index cbebe00..4782814 100755
--- a/selinux-policy/systemd-rfkill-and-similar/runtest.sh
+++ b/selinux-policy/systemd-rfkill-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="systemd_rfkill_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-run-and-similar/runtest.sh b/selinux-policy/systemd-run-and-similar/runtest.sh
index 0b0fbd2..8aa5fb1 100755
--- a/selinux-policy/systemd-run-and-similar/runtest.sh
+++ b/selinux-policy/systemd-run-and-similar/runtest.sh
@@ -32,7 +32,7 @@ PACKAGE="selinux-policy"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-sysctl-and-similar/runtest.sh b/selinux-policy/systemd-sysctl-and-similar/runtest.sh
index 1e18554..e7ef474 100755
--- a/selinux-policy/systemd-sysctl-and-similar/runtest.sh
+++ b/selinux-policy/systemd-sysctl-and-similar/runtest.sh
@@ -36,7 +36,7 @@ SERVICE_PACKAGE="systemd"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/systemd-timesyncd-and-similar/runtest.sh b/selinux-policy/systemd-timesyncd-and-similar/runtest.sh
index a9d5e81..42fa246 100755
--- a/selinux-policy/systemd-timesyncd-and-similar/runtest.sh
+++ b/selinux-policy/systemd-timesyncd-and-similar/runtest.sh
@@ -39,7 +39,7 @@ PROCESS_CONTEXT="systemd_timedated_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
SERVICE_PACKAGE=`rpm -qf ${FILE_PATH} | head -n 1`
rlAssertRpm ${PACKAGE}
diff --git a/selinux-policy/systemd-userdbd-and-similar/runtest.sh b/selinux-policy/systemd-userdbd-and-similar/runtest.sh
index 5df13af..6932575 100755
--- a/selinux-policy/systemd-userdbd-and-similar/runtest.sh
+++ b/selinux-policy/systemd-userdbd-and-similar/runtest.sh
@@ -48,7 +48,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/targetd-and-similar/runtest.sh b/selinux-policy/targetd-and-similar/runtest.sh
index 35fb247..c0530e8 100755
--- a/selinux-policy/targetd-and-similar/runtest.sh
+++ b/selinux-policy/targetd-and-similar/runtest.sh
@@ -39,7 +39,7 @@ PROCESS_CONTEXT="targetd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/thttpd-and-similar/runtest.sh b/selinux-policy/thttpd-and-similar/runtest.sh
index 4570319..860d5c7 100755
--- a/selinux-policy/thttpd-and-similar/runtest.sh
+++ b/selinux-policy/thttpd-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="httpd_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/tlp-and-similar/runtest.sh b/selinux-policy/tlp-and-similar/runtest.sh
index 9e39d97..2ec22bb 100755
--- a/selinux-policy/tlp-and-similar/runtest.sh
+++ b/selinux-policy/tlp-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="tlp_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/usbguard-daemon-and-similar/runtest.sh b/selinux-policy/usbguard-daemon-and-similar/runtest.sh
index 6c00b0c..e50df2c 100755
--- a/selinux-policy/usbguard-daemon-and-similar/runtest.sh
+++ b/selinux-policy/usbguard-daemon-and-similar/runtest.sh
@@ -40,7 +40,7 @@ PROCESS_CONTEXT="usbguard_t"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/usbmuxd-and-similar/runtest.sh b/selinux-policy/usbmuxd-and-similar/runtest.sh
index e205d5c..57bd228 100755
--- a/selinux-policy/usbmuxd-and-similar/runtest.sh
+++ b/selinux-policy/usbmuxd-and-similar/runtest.sh
@@ -46,7 +46,7 @@ rlJournalStart
fi
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
diff --git a/selinux-policy/virtualization-daemons/runtest.sh b/selinux-policy/virtualization-daemons/runtest.sh
index 825382b..042b365 100755
--- a/selinux-policy/virtualization-daemons/runtest.sh
+++ b/selinux-policy/virtualization-daemons/runtest.sh
@@ -66,16 +66,12 @@ fi
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
rlRun "rpm -qa libvirt\*"
- rlRun "sed -i 's/^.*task.*never.*$//' /etc/audit/rules.d/audit.rules"
- rlRun "echo '-w /etc/shadow -p w' >> /etc/audit/rules.d/audit.rules"
- rlRun "service auditd restart"
-
rlServiceStop ${SERVICE_NAMES}
rlFileBackup /etc/shadow
diff --git a/selinux-policy/watch-permissions/runtest.sh b/selinux-policy/watch-permissions/runtest.sh
index c8183ab..aa26229 100755
--- a/selinux-policy/watch-permissions/runtest.sh
+++ b/selinux-policy/watch-permissions/runtest.sh
@@ -33,7 +33,7 @@ PACKAGE="selinux-policy"
rlJournalStart
rlPhaseStartSetup
- rlRun "rlImport 'selinux-policy/common'"
+ rlRun "rlImport 'selinux-policy/common'" 0,1
rlSESatisfyRequires
rlAssertRpm ${PACKAGE}
rlAssertRpm ${PACKAGE}-targeted
^ 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: fix the tests which fail on CentOS-stream-10 Milos Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox