020d7afb2c
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
33 lines
960 B
Desktop File
33 lines
960 B
Desktop File
[Unit]
|
|
Description=Entropy Daemon based on the HAVEGE algorithm
|
|
Documentation=man:haveged(8) http://www.issihosts.com/haveged/
|
|
DefaultDependencies=no
|
|
ConditionVirtualization=!container
|
|
#Conflicts=shutdown.target
|
|
# Don't wait for systemd-random-seed.service, leads to deadlock with fips=1
|
|
#After=systemd-random-seed.service
|
|
Before=sysinit.target shutdown.target systemd-journald.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F
|
|
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_CHROOT
|
|
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
|
|
Restart=always
|
|
SuccessExitStatus=137 143
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|