SHA256
1
0
forked from pool/bird

Accepting request 914360 from home:jsegitz:branches:systemdhardening:network

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/914360
OBS-URL: https://build.opensuse.org/package/show/network/bird?expand=0&rev=19
This commit is contained in:
Martin Hauke 2021-08-27 13:07:07 +00:00 committed by Git OBS Bridge
parent 2c115ddd58
commit 208686455d
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 25 08:05:28 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s). Modified:
* bird.service
-------------------------------------------------------------------
Mon Mar 22 09:12:19 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -6,6 +6,15 @@ After=network.target
ConditionFileIsExecutable=/usr/sbin/bird
[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
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=simple
ExecStartPre=/usr/sbin/bird -p -u bird -g bird
ExecStart=/usr/sbin/bird -u bird -g bird -f -P /run/bird/bird.pid $BIRD_OPTIONS