Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/920872 OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=142
31 lines
743 B
Desktop File
31 lines
743 B
Desktop File
[Unit]
|
|
Description=Tell haveged about new root
|
|
DefaultDependencies=no
|
|
ConditionPathExists=/etc/initrd-release
|
|
Before=initrd-switch-root.service
|
|
JoinsNamespaceOf=haveged.service
|
|
|
|
[Service]
|
|
ExecStart=-/usr/sbin/haveged -c root=/sysroot
|
|
PrivateNetwork=yes
|
|
# 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
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Type=oneshot
|
|
StandardInput=null
|
|
StandardOutput=null
|
|
StandardError=null
|
|
|
|
[Install]
|
|
WantedBy=initrd-switch-root.target
|