2024-05-31 17:10:15 +00:00
|
|
|
From c93cef85e7ec08d924ad6a4f90a8677cc1603950 Mon Sep 17 00:00:00 2001
|
|
|
|
From: John Kacur <jkacur@redhat.com>
|
|
|
|
Date: Wed, 14 Feb 2024 15:55:30 -0500
|
2022-10-25 07:37:30 +00:00
|
|
|
Subject: [PATCH] Start stalld service as initrc_t
|
|
|
|
|
|
|
|
Stalld currently runs as an unconfined_service_t.
|
|
|
|
|
|
|
|
Edit to service file so that the daemon is launched as an initrc_t.
|
|
|
|
|
|
|
|
Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
|
2024-05-31 17:10:15 +00:00
|
|
|
Signed-off-by: John Kacur <jkacur@redhat.com>
|
|
|
|
---
|
|
|
|
systemd/stalld.service | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2022-10-25 07:37:30 +00:00
|
|
|
|
2024-05-31 17:10:15 +00:00
|
|
|
diff --git a/systemd/stalld.service b/systemd/stalld.service
|
|
|
|
index d93110b1b43e..69f3ee728129 100644
|
|
|
|
--- a/systemd/stalld.service
|
|
|
|
+++ b/systemd/stalld.service
|
|
|
|
@@ -10,7 +10,7 @@ ExecStartPre=/usr/bin/throttlectl off
|
2022-10-25 07:37:30 +00:00
|
|
|
|
|
|
|
# In case the regex passed to IT or IP includes C escape sequences,
|
|
|
|
# use ${IT} or ${IP} instead of $IT or $IP
|
|
|
|
-ExecStart=/usr/bin/stalld --systemd $CLIST $AGGR $BP $BR $BD $THRESH $LOGGING $FG $PF $IT $IP
|
|
|
|
+ExecStart=/bin/sh -c "/usr/bin/stalld --systemd $CLIST $AGGR $BP $BR $BD $THRESH $LOGGING $FG $PF $IT $IP"
|
|
|
|
ExecStopPost=/usr/bin/throttlectl on
|
|
|
|
CPUSchedulingPolicy=fifo
|
|
|
|
CPUSchedulingPriority=10
|
|
|
|
--
|
2024-05-31 17:10:15 +00:00
|
|
|
2.43.0
|
2022-10-25 07:37:30 +00:00
|
|
|
|