Accepting request 919082 from home:jsegitz:branches:systemdhardening:devel:kubic
- Added hardening to systemd service(s) (bsc#1181400). Modified: * etcd.service OBS-URL: https://build.opensuse.org/request/show/919082 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/etcd?expand=0&rev=17
This commit is contained in:
parent
1a5ad6129c
commit
7bd39ec692
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 14 07:23:37 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- Added hardening to systemd service(s) (bsc#1181400). Modified:
|
||||||
|
* etcd.service
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 9 14:22:24 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
Mon Aug 9 14:22:24 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
13
etcd.service
13
etcd.service
@ -5,6 +5,19 @@ After=network-online.target
|
|||||||
Wants=network-online.target
|
Wants=network-online.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
|
||||||
Type=notify
|
Type=notify
|
||||||
WorkingDirectory=/var/lib/etcd/
|
WorkingDirectory=/var/lib/etcd/
|
||||||
EnvironmentFile=-/etc/sysconfig/etcd
|
EnvironmentFile=-/etc/sysconfig/etcd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user