Tiny Core Extensions > TCE Corepure64
virt-manager error on startup
core.dump:
Update
Sorry, I don't want to bother, but when I create a new guest in virt-manager and try to run it, I'm not able to start the network:
--- Code: ---Could not start virtual network 'default': internal error: Failed to initialize a valid firewall backend
Traceback (most recent call last):
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/device/netlist.py", line 310, in _check_network_is_running
netobj.start()
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/object/network.py", line 75, in start
self._backend.create()
File "/usr/local/lib/python3.6/site-packages/libvirt.py", line 3073, in create
if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)
libvirt.libvirtError: internal error: Failed to initialize a valid firewall backend
--- End code ---
--- Code: ---Error starting domain: Requested operation is not valid: network 'default' is not active
Traceback (most recent call last):
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/object/domain.py", line 1279, in startup
self._backend.create()
File "/usr/local/lib/python3.6/site-packages/libvirt.py", line 1059, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: Requested operation is not valid: network 'default' is not active
--- End code ---
I'm not sure what these messages are referring to... ?
Rich:
Hi core.dump
See if this solution fixes the first error message:
https://superuser.com/questions/1063240/libvirt-failed-to-initialize-a-valid-firewall-backend
Then report any remaining errors.
core.dump:
Hi Rich,
I tried that solution, installed ebtables, started ebtablesd and dnsmasq, then restarted libvirtd. When I try to start the network in virt-manager, I still get the "libvirt.libvirtError: internal error: Failed to initialize a valid firewall backend" error message.
I don't understand, isn't ebtables a firewall?
Rich:
Hi core.dump
--- Quote from: core.dump on April 07, 2020, 04:02:53 PM --- ... I don't understand, isn't ebtables a firewall?
--- End quote ---
In the .info file:
http://tinycorelinux.net/11.x/x86_64/tcz/ebtables.tcz.info
It states:
--- Quote ---filtering tool for bridging firewalls
--- End quote ---
Based on that description, I would say no. Based on the .list file:
/usr/local/etc/ethertypes
/usr/local/lib/libebtc.so
/usr/local/lib/libebtc.so.0
/usr/local/lib/libebtc.so.0.0.0
/usr/local/sbin/ebtables
/usr/local/sbin/ebtables-restore
/usr/local/sbin/ebtables-save
/usr/local/sbin/ebtablesd
/usr/local/sbin/ebtablesu
It appears to have some configuration options. Possibly it requires some setup.
Iptables comes with a basic firewall, but I don't know if that helps you.
core.dump:
--- Quote from: Rich on April 07, 2020, 04:18:31 PM ---Iptables comes with a basic firewall, but I don't know if that helps you.
--- End quote ---
No, in fact I tried installing iptables, but nothing changes:
--- Code: ---Error starting network 'default': internal error: Failed to initialize a valid firewall backend
Traceback (most recent call last):
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtManager/object/network.py", line 75, in start
self._backend.create()
File "/usr/local/lib/python3.6/site-packages/libvirt.py", line 3073, in create
if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)
libvirt.libvirtError: internal error: Failed to initialize a valid firewall backend
--- End code ---
ebtablesd, iptables dnsmasq and libvirtd are all running but the error is still there. I have searched the web for a solution, but nothing seems to work...
Moreover, there's another thing I don't understand: after installing iptables, I noticed it hasn't anything to "run" the firewall: no servers (it doesn't exist, e.g., an "iptablesd"), no command line flags ("iptables -d" or such), no kernel modules (I didn't find any "iptables.ko" or similar). So my question is: how can it work if there isn't an "active" component?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version