1
0
mirror of https://github.com/systemd/systemd synced 2025-10-06 00:13:24 +02:00

systemd-networkd.socket: Add conflict with shutdown.target (#19348)

systemd-networkd.socket can re-start systemd-networkd.service in
shutdown and by doing this even stop shutdown.target leaving the
system in halfway-down state.

Fixes #4955.
This commit is contained in:
sverdlin
2021-04-19 04:25:33 +02:00
committed by GitHub
parent 6604fb0207
commit 3181521f92

View File

@@ -12,7 +12,8 @@ Description=Network Service Netlink Socket
Documentation=man:systemd-networkd.service(8) man:rtnetlink(7)
ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no
Before=sockets.target
Before=sockets.target shutdown.target
Conflicts=shutdown.target
[Socket]
ReceiveBuffer=128M