4800de73e5
- Remove ProtectKernelTunables hardening, causes the service to fail (boo#1192921) OBS-URL: https://build.opensuse.org/request/show/932917 OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=143
32 lines
933 B
Desktop File
32 lines
933 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
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Restart=always
|
|
SuccessExitStatus=137 143
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|