public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: require the service command instead of its package
@ 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 : 735763c486c0be541c4772b4b39be8e0b6134f92
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2021-10-13T20:35:51+02:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/735763c486c0be541c4772b4b39be8e0b6134f92?branch=pr775-checkpolicy-revdeps

            Log:
            require the service command instead of its package

Recently, the service command was moved from the initscripts package
to the initscripts-service package. The service command is necessary
for operations with audit daemon, because it's not possible to
restart the audit daemon using the systemctl command.

Now, the SELinux beaker library requires the /usr/sbin/service command
instead of a package name.

---
diff --git a/selinux-policy/Library/common/Makefile b/selinux-policy/Library/common/Makefile
index 07d41bb..b274700 100644
--- a/selinux-policy/Library/common/Makefile
+++ b/selinux-policy/Library/common/Makefile
@@ -46,11 +46,11 @@ $(METADATA): Makefile
 	@echo "Description:     Common library for SELinux related components" >> $(METADATA)
 	@echo "Type:            Library" >> $(METADATA)
 	@echo "TestTime:        120m" >> $(METADATA)
-	@echo "Requires:        setools" >> $(METADATA)
 	@echo "Requires:        setools-console" >> $(METADATA)
 	@echo "Requires:        expect" >> $(METADATA)
 	@echo "Requires:        policycoreutils" >> $(METADATA)
 	@echo "Requires:        /usr/sbin/semanage" >> $(METADATA)
+	@echo "Requires:        /usr/sbin/service" >> $(METADATA)
 	@echo "Requires:        selinux-policy-devel" >> $(METADATA)
 	@echo "Requires:        yum-utils" >> $(METADATA)
 	@echo "Requires:        python3 sqlite" >> $(METADATA)

^ 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: require the service command instead of its package Milos Malik

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