1
0

Accepting request 945228 from home:jsegitz:branches:systemdhardening:hardware

- Added hardening to systemd service(s) (bsc#1181400). Modified:
  * wpa_supplicant.service

OBS-URL: https://build.opensuse.org/request/show/945228
OBS-URL: https://build.opensuse.org/package/show/hardware/wpa_supplicant?expand=0&rev=129
This commit is contained in:
Clemens Famulla-Conrad 2022-01-10 10:18:03 +00:00 committed by Git OBS Bridge
parent 4adb0ea4de
commit 41deaf30e9
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 10 08:27:51 UTC 2022 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* wpa_supplicant.service
-------------------------------------------------------------------
Tue Apr 6 14:51:18 UTC 2021 - Clemens Famulla-Conrad <cfamullaconrad@suse.com>

View File

@ -5,6 +5,17 @@ Before=network-pre.target
Wants=network-pre.target
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=read-only
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=dbus
BusName=fi.w1.wpa_supplicant1
ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -t -f /var/log/wpa_supplicant.log