Accepting request 966292 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/966292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openslp?expand=0&rev=55
This commit is contained in:
Dominique Leuenberger 2022-04-03 19:30:36 +00:00 committed by Git OBS Bridge
commit fdfb304338
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 13 11:13:47 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* slpd.service
-------------------------------------------------------------------
Tue Mar 24 17:07:52 CET 2020 - mls@suse.de

View File

@ -3,6 +3,19 @@ Description=OpenSLP daemon for the Service Location Protocol
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
Type=notify
ExecStart=/usr/sbin/slpd -d
ExecReload=/bin/kill -HUP $MAINPID