Accepting request 915506 from home:jsegitz:branches:systemdhardening:network

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/915506
OBS-URL: https://build.opensuse.org/package/show/network/ddclient?expand=0&rev=60
This commit is contained in:
Dirk Mueller 2021-10-16 10:02:48 +00:00 committed by Git OBS Bridge
parent b46042254c
commit 83d4ae3c9d
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 1 12:27:43 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s). Modified:
* ddclient.service
-------------------------------------------------------------------
Tue May 18 14:43:16 UTC 2021 - Josef Möllers <josef.moellers@suse.com>

View File

@ -3,6 +3,19 @@ Description=A Perl Client Used To Update Dynamic DNS
After=network.target nss-lookup.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
User=ddclient
Group=ddclient
Type=forking