Public bug reported:

In our packaging libvirt-daemon-config-network.postrm.in blindly copies
default.xml to /etc/libvirt/qemu/networks/default.xml.

This leads to conflicts when installing libvirt in a VM that was
launched by libvirt.

Upstream libvirt.spec.in is a bit more refined:

In daemon-config-network it checks if there is a route involving 
192.168.122.0/24.
If yes, it looks for an unused subnet 192.168.?.0/24.
At least the developer understood the problem. But the solution is bad.
E.g. a subnet already in use could be 192.168.64.0/18 which comprises 
192.168.122.0/24.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164823

Title:
  libvirt-daemon-config-network.postrm.in does not check if subnet
  192.168.122.0/24 is already used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2164823/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to