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:
@@ -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
|
||||
|
Reference in New Issue
Block a user