[libvirt-users] libvirtd & dnsmasq

James M Leddy james.leddy at redhat.com
Fri Nov 19 18:17:45 UTC 2010

On Fri, Nov 19, 2010 at 09:51:33AM -0800, Mark Foster wrote:
> libvirtd is starting dnsmasq! This is on RHEL5.5
> I don't see it mentioned in /etc/init.d/libvirtd or /etc/libvirt/* or
> /etc/sysconfig/libvirtd
>  4337 ?        S      0:00 /usr/sbin/dnsmasq --strict-order
> --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid
> --conf-file=  --listen-address --except-interface lo
> --dhcp-range, --dhcp-lease-max=253
> How can I properly disable this funcationality? (I'm running dnsmasq for
> other purposes on the host, and the libvirtd incantation conflicts).

It's because of this:

postinstall scriptlet (using /bin/sh):

# We want to install the default network for initial RPM installs
# or on the first upgrade from a non-network aware libvirt only.
# We check this by looking to see if the daemon is already installed
/sbin/chkconfig --list libvirtd 1>/dev/null 2>&1
if [ $? != 0 -a ! -f /etc/libvirt/qemu/networks/default.xml ]
    sed -e "s,</name>,</name>\n  <uuid>$UUID</uuid>," \
         < /usr/share/libvirt/networks/default.xml \
         > /etc/libvirt/qemu/networks/default.xml
    ln -s ../default.xml /etc/libvirt/qemu/networks/autostart/default.xml

/sbin/chkconfig --add libvirtd

I put in a request to get it removed.

James M. Leddy
Technical Account Manager
Red Hat Inc.
work: 212-510-4119
cell: 631-891-8703

More information about the libvirt-users mailing list