[libvirt-users] dnsmasq does not start

Alexey Kardashevskiy aik at ozlabs.ru
Wed Apr 24 07:23:02 UTC 2013


Hi!

I am trying to run tap networking with libvirtd.

My test system is Fedora18/ppc64, libvirt 1.0.4 (compiled from git and 
installed). On another system with Fedora17/ppc64 with the same settings, 
dnsmasq is running. All configs in /etc/libvirt/ are default and not 
changed, the only exception is /etc/libvirt/qemu/networks/default.xml which 
I copied from Fedora17/ppc64 setup.

What does exactly force libvirtd to start dnsmasq?


Some debug info:

[root at vpl2 ~]# ps ax | egrep \(dnsmasq\|libvirt\)
  9021 ?        Ssl    0:00 /usr/sbin/libvirtd
  9271 pts/0    S+     0:00 egrep --color=auto (dnsmasq|libvirt)
[root at vpl2 ~]#
[root at vpl2 ~]# cat /etc/libvirt/qemu/networks/default.xml
<network>
   <name>default</name>
   <bridge name="virbr%d" />
   <forward/>
   <ip address="192.168.122.1" netmask="255.255.255.0">
     <dhcp>
       <range start="192.168.122.2" end="192.168.122.254" />
     </dhcp>
   </ip>
</network>
[root at vpl2 ~]#
[root at vpl2 ~]# service libvirtd restart
Redirecting to /bin/systemctl restart  libvirtd.service
[root at vpl2 ~]#
[root at vpl2 ~]#
[root at vpl2 ~]# ps ax | egrep \(dnsmasq\|libvirt\)
  9365 ?        Ssl    0:00 /usr/sbin/libvirtd
  9507 pts/0    S+     0:00 egrep --color=auto (dnsmasq|libvirt)
[root at vpl2 ~]#
[root at vpl2 ~]# ls -laR /var/log/libvirt/
/var/log/libvirt/:
total 20
drwx------.  5 root root 4096 Apr  9 16:51 .
drwxr-xr-x. 18 root root 4096 Apr 24 13:48 ..
drwx------.  2 root root 4096 Apr  9 16:51 lxc
drwx------.  2 root root 4096 Apr 24 17:22 qemu
drwx------.  2 root root 4096 Apr  9 16:51 uml

/var/log/libvirt/lxc:
total 8
drwx------. 2 root root 4096 Apr  9 16:51 .
drwx------. 5 root root 4096 Apr  9 16:51 ..

/var/log/libvirt/qemu:
total 8
drwx------. 2 root root 4096 Apr 24 17:22 .
drwx------. 5 root root 4096 Apr  9 16:51 ..

/var/log/libvirt/uml:
total 8
drwx------. 2 root root 4096 Apr  9 16:51 .
drwx------. 5 root root 4096 Apr  9 16:51 ..
[root at vpl2 ~]#


-- 
Alexey




More information about the libvirt-users mailing list