]> git.ipfire.org Git - thirdparty/dracut.git/commit
revert(network-manager): avoid restarting NetworkManager
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 20 Dec 2022 12:06:43 +0000 (13:06 +0100)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Tue, 14 Feb 2023 15:56:34 +0000 (16:56 +0100)
commit61ceb35f4079ae8d0ee1635b56dd8bc88149b4a8
treed69cca896039a6d7b0cbb4a05e47b7fe979c54c8
parenta6dd5bfb9a514a3bf650cc1e8d4311c05e9b968c
revert(network-manager): avoid restarting NetworkManager

This reverts commit 77630365aed201a729c73a9ffda0733a75f3fee4.

Its commit message states:

  On EL8.3 the NetworkManager keep restarting even if it exits successfully
  while waiting for Clevis to unlock. This patch ensures NetworkManager runs
  only once in initrd.

Yes; NetworkManager is run multiple times, so that it's able to
configure interfaces that haven't been seen previously (because bus was
slow to scan or device took time to initialize).

It's not clear what problem was the original commit trying to fix.
I suspect there was no problem, just a misunderstanding.
modules.d/35network-manager/nm-run.sh