Accepting request 918927 from home:jsegitz:branches:systemdhardening:Education

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/918927
OBS-URL: https://build.opensuse.org/package/show/Education/dictd?expand=0&rev=23
This commit is contained in:
Matej Cepl 2021-09-14 15:15:13 +00:00 committed by Git OBS Bridge
parent ce4f914a25
commit dde4368528
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 13 13:57:00 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* dictd.service
-------------------------------------------------------------------
Mon Mar 30 12:37:41 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -3,6 +3,19 @@ Description=Dictd Dictionary Server Daemon
After=network.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
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=forking
ExecStart=/usr/sbin/dictd --listen-to 127.0.0.1