]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(network-manager): add "After" dependency on dbus.service
authorBeniamino Galvani <bgalvani@redhat.com>
Tue, 31 Jan 2023 15:32:19 +0000 (16:32 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 13 Feb 2023 10:54:41 +0000 (10:54 +0000)
commitd8a9a73df9688989b5e47469e74ad5aa666a5bfb
treeb9341884f3d64b00e7ff08682b9b0d4841933d35
parent1597076887c6744b9ec69c0ac44a1134fd700700
fix(network-manager): add "After" dependency on dbus.service

During shutdown, there is no ordering dependency between the nm-initrd service
and the D-Bus daemon, and so the latter can be stopped before. This causes
issues to NetworkManager, especially when team interfaces are present because
NM will see teamd dropping from the bus and will try to reactivate the
connection.

Add a "After" dependency to make sure the D-Bus daemon is stopped after NM on
shutdown.
modules.d/35network-manager/nm-initrd.service