]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: restart dnsmasq after adding/removing txt and srv records
authorLaine Stump <laine@laine.org>
Tue, 31 May 2016 15:51:29 +0000 (11:51 -0400)
committerLaine Stump <laine@laine.org>
Wed, 1 Jun 2016 15:45:25 +0000 (11:45 -0400)
commit93b59fcff60ee3e2ac3e67164b992d1335e9d0a2
treeb4711e06dbb8414de1852d2abb13a80d0136e8c2
parentde0b091ae08a38b13ea62b806e28666c51da198e
network: restart dnsmasq after adding/removing txt and srv records

Although dns host records are stored in a separate configuration file
that is reread by dnsmasq when it receives a SIGHUP, the txt and srv
records are directly in the dnsmasq .conf file which can't be reread
after initial dnsmasq startup. This means that if an srv or txt record
is modified in a network config, libvirt needs to restart the dnsmasq
process rather than just sending a SIGHUP.

This was pointed out in a question in
https://bugzilla.redhat.com/show_bug.cgi?id=988718 , but no separate
BZ was filed.
src/network/bridge_driver.c