Your message dated Thu, 8 Nov 2018 00:09:37 +0100
with message-id <[email protected]>
and subject line Re: Bug#913194: Acknowledgement (virsh net-create fails if 
firewalld is installed, but not running)
has caused the Debian Bug report #913194,
regarding virsh net-create fails if firewalld is installed, but not running
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
913194: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913194
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Control: reassign -1 libvirt-clients

Argh, typoed the package name.

But also, I was testing this wrong: This happens only when you stop
firewalld.service while libvirtd.service is already running. Restarting
libvirtd.service afterwards fixes it.

So this is not worth bothering, IMHO. Closing.

Sorry for the noise!

Martin

--- End Message ---

Reply via email to