Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71672 - [libvirt] Libvirt fails to initialize firewall backend by default

Attached to Project: Community Packages
Opened by Nico (dr460nf1r3) - Saturday, 31 July 2021, 11:44 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 01 August 2021, 08:57 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Sven-Hendrik Haase (Svenstaro)
Robin Broda (coderobe)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
Libvirt/virt-manager by default fails to initialize its firewall backend - virtual machines can't be used with active network then.
This can be fixed by installing ebtables & addding the following to the default /usr/lib/systemd/system/libvirtd.service:

[Service]
WorkingDirectory=/usr/sbin


Additional info:
* package version(s)
virt-manager 3.2.0-1
libvirt 1:7.5.0-1

* config and/or log files etc.
The error message from virt-manager:
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 101, in tmpcb
callback(*args, **kwargs)
File “/usr/share/virt-manager/virtManager/object/libvirtobject.py”, line 57, in newfn
ret = fn(self, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/object/network.py”, line 69, in start
self._backend.create()
File “/usr/lib/python3.9/site-packages/libvirt.py”, line 3174, in create
if ret == -1: raise libvirtError (‘virNetworkCreate() failed’, net=self)
libvirt.libvirtError: internal error: Failed to initialize a valid firewall backend

* link to upstream bug report, if any

Steps to reproduce:
1. Install virt-manager
2. Create a VM with default settings
This task depends upon

Loading...