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 192.168.122.1 --except-interface lo
--dhcp-range 192.168.122.2,192.168.122.254 --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):
/sbin/ldconfig
# 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 ]
then
UUID=`/usr/bin/uuidgen`
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
fi
/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