Accepting request 908801 from home:jsegitz:branches:systemdhardening:Base:System

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/908801
OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=100
This commit is contained in:
Thomas Renninger 2021-08-09 08:30:04 +00:00 committed by Git OBS Bridge
parent 872253ef8d
commit 4f0f531b7b
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 27 14:19:54 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s). Modified:
* acpid.service
-------------------------------------------------------------------
Mon Jan 4 13:11:47 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -2,6 +2,14 @@
Description=ACPI Event Daemon
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectClock=true
ProtectKernelLogs=true
ProtectControlGroups=true
ExecStart=/usr/sbin/acpid -n -f
ExecReload=/bin/kill -s HUP $MAINPID