When stop the libvirtd sevice, it can't destroy the networks. The line 105: libvirtd_virsh net-destroy ${net_name} > /dev/null should be: libvirtd_virsh qemu net-destroy ${net_name} > /dev/null Reproducible: Always Steps to Reproduce: 1. has a NATed network 2. stop the libvirtd service
Steps to Reproduce in details: 1. # cat default.xml <network> <name>default</name> <uuid>0fc88826-722e-4fda-82ee-b8a3c76d2fca</uuid> <forward mode='nat'/> <bridge name='virbr0' stp='on' delay='0' /> <mac address='52:54:00:28:D2:66'/> <ip address='192.168.122.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.122.2' end='192.168.122.254' /> </dhcp> </ip> </network> 2. # virsh net-define default.xml 3. # /etc/init.d/libvirtd stop
Thanks. Fixed in tree.