mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 23:28:08 +02:00
service: increase start timeout of NetworkManager.service
With a large number of interfaces, it can take longer than 45 seconds before NetworkManager is started (and the D-Bus name acquired). Increase the start timeout. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1612
This commit is contained in:
parent
0cb43c9e42
commit
505356be48
1 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,9 @@ Restart=on-failure
|
|||
# NM doesn't want systemd to kill its children for it
|
||||
KillMode=process
|
||||
|
||||
# With a huge number of interfaces, starting can take a long time.
|
||||
TimeoutStartSec=600
|
||||
|
||||
# CAP_DAC_OVERRIDE: required to open /run/openvswitch/db.sock socket.
|
||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_DAC_OVERRIDE CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_MODULE CAP_AUDIT_WRITE CAP_KILL CAP_SYS_CHROOT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue