Accepting request 921081 from home:jsegitz:branches:systemdhardening:devel:tools:building

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/921081
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/icecream?expand=0&rev=84
This commit is contained in:
Martin Pluskal 2021-10-06 13:56:42 +00:00 committed by Git OBS Bridge
parent c0b1106b6b
commit abd75a6928
3 changed files with 33 additions and 0 deletions

View File

@ -2,6 +2,19 @@
Description=Icecream distributed compiler scheduler
[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=simple
EnvironmentFile=-/etc/sysconfig/icecream
User=icecream

View File

@ -3,6 +3,19 @@ Description=Icecream Distributed Compiler
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=simple
EnvironmentFile=-/etc/sysconfig/icecream
SyslogIdentifier=iceccd

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 22 14:31:32 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* icecc-scheduler.service.in
* iceccd.service.in
-------------------------------------------------------------------
Sun Jan 10 23:57:01 UTC 2021 - Stefan Brüns <stefan.bruens@rwth-aachen.de>