1

Topic: Can't start network in libvirtd

Hello, i'm use virt-manager qemu with kvm. When i try start Network

rror starting network 'Whonix-External': internal error: Failed to initialize a valid firewall backend

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 124, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/network.py", line 81, in start
    self._backend.create()
  File "/usr/lib/python2.7/site-packages/libvirt.py", line 2868, in create
    if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)
libvirtError: internal error: Failed to initialize a valid firewall backend

What i need send you? How i can fix it?

2 (edited by throgh 2020-07-27 22:35:01)

Re: Can't start network in libvirtd

Hello,

you should try the following: Installing dnsmasq and ebtables.
The error won't occur again and you should be able to initialize the network.

EDIT: Don't forget to start the service dnsmasq at minimum after installation or better adding it towards the init-level.
Starting with doas rc-service dnsmasq start and adding with doas rc-update add dnsmasq default. Hope this helps! smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!