Package: libvirt-client
Version: 4.7.0-1+b1
Version of firewalld: 0.6.3-1
When firewalld is installed, but not running, creating a libvirt network fails.
Apparently libvirt is detecting that firewalld is installed, and then fails to
talk to it:
# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/lib/systemd/system/firewalld.service; disabled; vendor
preset: enabled)
Active: inactive (dead) since Wed 2018-11-07 17:49:45 EST; 3min 1s ago
# virsh net-create /dev/stdin <<EOF
<network>
<name>test_network</name>
<forward mode='nat'/>
<bridge name='virbr5' stp='on' delay='0'/>
<mac address='52:54:00:bc:93:8e'/>
<ip address='192.168.123.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.123.2' end='192.168.123.254'/>
</dhcp>
</ip>
</network>
EOF
error: Failed to create network from /dev/stdin
error: The name org.fedoraproject.FirewallD1 was not provided by any .service
files
This works fine after "systemctl start firewalld".
I tested this on current Fedora 29, which happens to have the exact same
package versions:
libvirt-client-4.7.0-1.fc29.x86_64
firewalld-0.6.3-1.fc29.noarch
and this bug does not happen there. Thus I didn't report it upstream, it seems
to be Debian specific.
Thanks,
Martin