I am wondering what should be done with this bug report since it has not
seen any update for so long. I believe even at the time of it being
reported this looks to be an intentional mode of operation. From
searching through the upstream git repo I found this commit which at
least re-introduced this (this followed 0.8.8 and appears to be some
security related change as well):

commit 7892edc9cc45e4fb1079b627bda3f571ac27041f
Author: Laine Stump <la...@laine.org>
Date:   Fri Mar 11 11:47:58 2011 -0500

    network driver: Start dnsmasq even if no dhcp ranges/hosts are
specified.

In this situation dnsmasq will purely act as a DNS cache. It should be
possible to set up ones own DHCP service though maybe not using dnsmasq
(since I don't see a no-dns mode there). isc-dhcp-server should work.
Generally I think the idea in libvirt seems to be that any network
defined via libvirt will also get those services provided. And for any
more complex setup one has to do the network definitions outside
libvirt.

For example I often use a transparent bridge which I define in
/etc/network/interfaces and then attach VMs to that bridge. This can be
defined within libvirt as a mode='bridge' network. Though in practice I
don't have that and actually assign VMs the "shared device" (the bridge)
directly. Not sure this is good practice, though. Both methods work.

So generally I would be tending to close this bug as "won't fix" since
this is intended behaviour by upstream. Maybe needs a better
documentation somewhere (not sure where) but maybe there already is.
After all this all was 3y ago...

** Changed in: libvirt (Ubuntu)
       Status: Triaged => Incomplete

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

Title:
  libvirt launches dnsmasq for non-dhcp networks.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to