forked from pool/sccache
Accepting request 932185 from home:jsegitz:branches:systemdhardening:devel:languages:rust
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/932185 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/sccache?expand=0&rev=5
This commit is contained in:
parent
9f9ec21457
commit
19d6387573
@ -3,6 +3,19 @@ Description=sccache-dist builder
|
||||
After=chronyd.service ntpd.service network-online.target
|
||||
|
||||
[Service]
|
||||
# added automatically, for details please see
|
||||
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
ProtectSystem=full
|
||||
ProtectHome=read-only
|
||||
PrivateDevices=true
|
||||
ProtectHostname=true
|
||||
ProtectClock=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
User=0
|
||||
Type=simple
|
||||
CacheDirectory=sccache-builder
|
||||
|
@ -3,6 +3,19 @@ Description=sccache-dist server
|
||||
After=chronyd.service ntpd.service network-online.target
|
||||
|
||||
[Service]
|
||||
# added automatically, for details please see
|
||||
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
ProtectSystem=full
|
||||
ProtectHome=read-only
|
||||
PrivateDevices=true
|
||||
ProtectHostname=true
|
||||
ProtectClock=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
DynamicUser=yes
|
||||
Type=simple
|
||||
Environment="RUST_LOG=sccache=info"
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 15:21:57 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Added hardening to systemd service(s) (bsc#1181400). Modified:
|
||||
* sccache-dist-builder.service
|
||||
* sccache-dist-scheduler.service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 00:07:45 UTC 2021 - William Brown <william.brown@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user