Accepting request 924899 from home:jsegitz:branches:systemdhardening:server:dns

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/924899
OBS-URL: https://build.opensuse.org/package/show/server:dns/nsd?expand=0&rev=88
This commit is contained in:
Michael Ströder 2021-10-12 19:53:30 +00:00 committed by Git OBS Bridge
parent 39cc06a6e7
commit a970b4b2e3
2 changed files with 19 additions and 0 deletions

@ -28,6 +28,12 @@ BUG FIXES:
- Fix #194: Incorrect NSEC3 response for SOA query below delegation
point.
-------------------------------------------------------------------
Mon Oct 11 09:29:34 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* nsd.service
-------------------------------------------------------------------
Thu Jul 22 18:21:09 UTC 2021 - Michael Ströder <michael@stroeder.com>

@ -3,6 +3,19 @@ Description=NSD DNS Server
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
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=simple
PIDFile=/run/nsd/nsd.pid
#EnvironmentFile=-/etc/sysconfig/nsd