Accepting request 920515 from home:jsegitz:branches:systemdhardening:Application:Geo

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/920515
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoipupdate?expand=0&rev=37
This commit is contained in:
Paolo Stivanin 2021-09-21 08:07:01 +00:00 committed by Git OBS Bridge
parent 46e3e7e12e
commit 11e0e6e31f
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 20 07:05:44 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* geoipupdate.service
-------------------------------------------------------------------
Fri Apr 23 14:36:31 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -3,6 +3,19 @@ Description=Update GeoIP databases
Documentation=man:geoipupdate(1) man:GeoIP.conf(5)
[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=oneshot
WorkingDirectory=/var/lib/GeoIP