Accepting request 926726 from home:jsegitz:branches:systemdhardening:server:monitoring

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/926726
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/prelude-manager?expand=0&rev=20
This commit is contained in:
Lars Vogdt
2022-03-31 21:46:52 +00:00
committed by Git OBS Bridge
parent e42bae3fd1
commit 0775a22ac2
2 changed files with 19 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 20 11:45:44 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* prelude-manager.service
-------------------------------------------------------------------
Sun Oct 25 21:22:20 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@@ -5,6 +5,19 @@ After=remode_fs.target
Before=prelude-lml.service prelude-correlator.service
[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
ExecStart=/usr/bin/prelude-manager
[Install]