File harden_firehol.service.patch of Package firehol
Index: firehol-3.1.7/contrib/firehol.service =================================================================== --- firehol-3.1.7.orig/contrib/firehol.service +++ firehol-3.1.7/contrib/firehol.service @@ -14,6 +14,17 @@ Conflicts=shutdown.target Before=shutdown.target [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/firehol start