Closing the lxc task as the lxc postinst doesn't suffer from this bug.

In lxc we have:
    remove)
        rm -f /etc/dnsmasq.d/lxc 2>/dev/null || true

        # Try to restart a potential system wide dnsmasq
        invoke-rc.d dnsmasq restart 2>/dev/null || true
    ;;


Whereas in libvirt we have:
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
        rm -f /etc/dnsmasq.d/libvirt-bin 2>/dev/null || true

        # Try to restart a potential system wide dnsmasq
        invoke-rc.d dnsmasq restart 2>/dev/null || true
    ;;


Note that in libvirt's case, the file will be removed in all cases,
whereas in lxc (and network-manager) we only do the removal on remove.

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

Title:
  libvirt-bin deletes /etc/dnsmasq.d/libvirt-bin on upgrade

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

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

Reply via email to