This was initially inspired by
https://issues.redhat.com/browse/RHEL-50968 which
does things behind our back. However, I have found some other things when
digging into the aforemention bug.
I rebased, changed, rebased, refactored, and rebased again this branch so many
times there might be a bunch of weird stuff I forgot to remove before posting.
I hope I did not miss any, but one can never be sure ;)
Martin Kletzander (8):
network: Do not update network ports for inactive networks
network: Do not call virNetworkObjUnsetDefTransient on start cleanup
network: Move port deletion into the shutdown function
network: Don't check if network is active in networkShutdownNetwork
network: Clean up after inactive objects during start
network: Try to read dnsmasq PIDs for inactive networks too
network: Separate cleanup from networkRemoveInactive
network: Clean up after disappeared transient inactive networks
src/network/bridge_driver.c | 62 ++++++++++++++++++++++++++++++-------
1 file changed, 50 insertions(+), 12 deletions(-)
--
2.46.0