File Extend-the-allowed-Address-Families-in-the-systemd-service-file.patch of Package sispmctl

From: Egbert Eich <eich@suse.com>
Date: Mon Dec 15 11:04:11 2025 +0100
Subject: Extend the allowed Address Families in the systemd service file
Patch-mainline: Not yet
Git-repo: https://git.code.sf.net/p/sispmctl/git
Git-commit: f448aa3cc34624e76c3b1cfaae34ef2cbde87408
References: 

The service needs access to AF_NETLINK and AF_UNIX as well
to start properly.

Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
---
 examples/sispmctl.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/sispmctl.service b/examples/sispmctl.service
index 2c59c4c..ec07299 100644
--- a/examples/sispmctl.service
+++ b/examples/sispmctl.service
@@ -35,7 +35,7 @@ ProtectKernelModules=true
 ProtectKernelTunables=true
 ProtectSystem=strict
 RemoveIPC=true
-RestrictAddressFamilies=AF_INET AF_INET6
+RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
 RestrictNamespaces=true
 RestrictRealtime=true
 SystemCallFilter=@system-service
openSUSE Build Service is sponsored by