[PATCH 0/2] network: fix network driver to gracefully skip startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We should gracefully skip startup when:

 * No network.conf firewall_backend is explicitly set, and
   neither iptables/nftables are present
 * Running unprivileged

The former fixes libvirtd startup on non-Linux, or minimal linux
installs without firewall tools.

The latter skips pointless initialization that creates a driver
that cannot do anything useful

Daniel P. Berrangé (2):
  network: skip network driver init if no firewall backend is present
  network: don't attempt to initialize if non-privileged

 src/network/bridge_driver.c      | 14 +++++++++++++-
 src/network/bridge_driver_conf.c |  8 ++++----
 2 files changed, 17 insertions(+), 5 deletions(-)

-- 
2.45.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux