Accepting request 926725 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/926725
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/prelude-lml?expand=0&rev=22
This commit is contained in:
Lars Vogdt 2022-03-31 21:46:40 +00:00 committed by Git OBS Bridge
parent 7f473c3040
commit da6339ae80
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 20 08:59:50 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* prelude-lml.service
-------------------------------------------------------------------
Sun Oct 25 18:29:49 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -3,6 +3,19 @@ Description=Log analyzer sensor with IDMEF output
After=remode_fs.target prelude-manager.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-lml
[Install]