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:
parent
2c115ddd58
commit
208686455d
@ -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>
|
Mon Mar 22 09:12:19 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
@ -6,6 +6,15 @@ After=network.target
|
|||||||
ConditionFileIsExecutable=/usr/sbin/bird
|
ConditionFileIsExecutable=/usr/sbin/bird
|
||||||
|
|
||||||
[Service]
|
[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
|
Type=simple
|
||||||
ExecStartPre=/usr/sbin/bird -p -u bird -g bird
|
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
|
ExecStart=/usr/sbin/bird -u bird -g bird -f -P /run/bird/bird.pid $BIRD_OPTIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user