- Package:
- libvirt-bin
- Source:
- libvirt
- Submitter:
- Daniel Dehennin
- Date:
- 2023-04-17 15:57:29 UTC
- Severity:
- normal
- Tags:
Updating from 0.6.5-3 the following network configuration requires dnsmasq.
Hello,
I looked at the source code and saw the problem in
src/network/bridge_driver.c[1]:
--8<---------------cut here---------------start------------->8---
if ((network->def->ipAddress ||
network->def->nranges) &&
dhcpStartDhcpDaemon(conn, network) < 0)
goto err_delbr2;
--8<---------------cut here---------------end--------------->8---
The dhcpStartDhcpDaemon should be called only if network->def->nranges
is defined.
Regards.
Footnotes:
[1] http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/network/bridge_driver.c;h=abee78cbbf1d6025e302f999a0569d0bb0b1a433;hb=master#l953
Hi Daniel, This was done on purpose so dnsmasq can provide DNS. See upstream commit df3de82c06d42fed832c1955dafdee85879bd15a Cheers, -- Guido
Le 5947 Septembre 1993, Guido Günther a envoyé: Ok, so there is one problem: - the debian package should depends on dnsmasq since I can not start the default network - the dnsmasq feature should be configurable in libvirt so we can disable it. Regards.