Accepting request 932194 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/932194
OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=84
This commit is contained in:
Dirk Mueller 2021-11-21 11:09:01 +00:00 committed by Git OBS Bridge
parent 4bbb3e29bd
commit 3c1f222e37
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 16 08:59:11 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* rsyncd.service
-------------------------------------------------------------------
Fri Sep 4 10:25:17 UTC 2020 - Pedro Monreal <pmonreal@suse.com>

View File

@ -8,6 +8,15 @@ ExecStart=/usr/sbin/rsyncd --daemon --no-detach
IOSchedulingClass=idle
CPUSchedulingPolicy=batch
PrivateTmp=true
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
[Install]
WantedBy=multi-user.target