Accepting request 926703 from home:jsegitz:branches:systemdhardening:devel:languages:python

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/926703
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glances?expand=0&rev=32
This commit is contained in:
Martin Hauke 2021-10-22 15:31:16 +00:00 committed by Git OBS Bridge
parent 1f02d5324f
commit 238f40096f
2 changed files with 19 additions and 0 deletions

View File

@ -3,6 +3,19 @@ Description=Glances
After=network.target After=network.target
[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/glances -w ExecStart=/usr/bin/glances -w
Restart=on-abort Restart=on-abort
RemainAfterExit=yes RemainAfterExit=yes

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 20 14:58:23 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* glances.service
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 03 07:20:11 UTC 2021 - Enrico Belleri <idesmi@protonmail.com> Fri Sep 03 07:20:11 UTC 2021 - Enrico Belleri <idesmi@protonmail.com>