0ae7f56e56
- Drop ProtectClock hardening, can cause issues if other device acceess is needed OBS-URL: https://build.opensuse.org/request/show/925453 OBS-URL: https://build.opensuse.org/package/show/network:fcoe/fcoe-utils?expand=0&rev=51
21 lines
712 B
Diff
21 lines
712 B
Diff
Index: fcoe-utils-1.0.34/etc/systemd/fcoe.service
|
|
===================================================================
|
|
--- fcoe-utils-1.0.34.orig/etc/systemd/fcoe.service
|
|
+++ fcoe-utils-1.0.34/etc/systemd/fcoe.service
|
|
@@ -3,6 +3,15 @@ Description=Open-FCoE initiator daemon
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=simple
|
|
EnvironmentFile=/etc/fcoe/config
|
|
ExecStartPre=/sbin/modprobe -qa $SUPPORTED_DRIVERS
|