[Dnsmasq-discuss] Dnsmasq server enabled IPv6 RA error: kernel: dnsmasq[26991]: segfault at 0 ip 0000003b12080e1e sp 00007fff17a4d2f8 error 6 in libc-2.12.so[3b12000000+18a000]

Da Zhao Y Yu dzyu at cn.ibm.com
Fri Jan 10 10:45:29 GMT 2014


Hi All,

I encountered some problems when use dnsmasq to support IPv6 router 
advertisement

I want to use IPv6 ra-only mode in my openstack environment.

When I run the following dnsmasq command:

/usr/sbin/dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces 
--interface=tapbc4dfa1a-d1 --except-interface=lo 
--pid-file=/var/lib/neutro/dhcp/5abfc7bd-c5dd-47f9-aeb5-757534881dfb/pid 
--dhcp-hostsfile=/var/lib/neutron/dhcp/5abfc7bd-c5dd-47f9-aeb5-757534881dfb/host 
--dhcp-optsfile=/var/lib/neutron/dhcp/5abc7bd-c5dd-47f9-aeb5-757534881dfb/opts 
--leasefile-ro --dhcp-range=set:tag0,2001:2011::,ra-only,86400s 
--dhcp-lease-max=16777216 --conf-file= --domain=openstacklocal

>From /var/log/messages, I just got the following message:

Jan 10 04:06:57 localhost dnsmasq[26991]: started, version 2.64 cachesize 
150
Jan 10 04:06:57 localhost dnsmasq[26991]: compile time options: IPv6 
GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack
Jan 10 04:06:57 localhost dnsmasq[26991]: warning: no upstream servers 
configured
Jan 10 04:06:57 localhost dnsmasq-dhcp[26991]: IPv6 router advertisement 
enabled
Jan 10 04:06:57 localhost kernel: dnsmasq[26991]: segfault at 0 ip 
0000003b12080e1e sp 00007fff17a4d2f8 error 6 in 
libc-2.12.so[3b12000000+18a000]

Who can give me some suggestion about it?

Also when I set the dhcp-modes as static, it is OK, 

The run command as below:

/usr/sbin/dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces 
--interface=tap978669be-94 --except-interface=l 
--pid-file=/var/lib/neutron/dhcp/39918d18-cdc4-44fc-8819-fce9f9a4df87/pid 
--dhcp-hostsfile=/var/lib/neutron/dhcp/39918d18-cdc4-44fc-8819-fce9f9a4df87/host 
--dhcp-optsfie=/var/lib/neutron/dhcp/39918d18-cdc4-44fc-8819-fce9f9a4df87/opts 
--leasefile-ro --dhcp-range=set:tag0,2001:2022::,static,86400s 
--dhcp-lease-max=16777216 --conf-file= -domain=openstacklocal

and the result is OK, as below:

Jan 10 03:03:23 localhost dnsmasq-dhcp[18981]: DHCPv6, static leases only 
on 2001:2022::, lease time 1d
Jan 10 03:03:23 localhost dnsmasq[18981]: cleared cache
Jan 10 03:03:23 localhost dnsmasq-dhcp[18981]: read 
/var/lib/neutron/dhcp/69e6ba9a-c5f9-4794-a89e-0d69e0936fba/host
Jan 10 03:03:23 localhost dnsmasq-dhcp[18981]: read 
/var/lib/neutron/dhcp/69e6ba9a-c5f9-4794-a89e-0d69e0936fba/opts
Jan 10 03:03:24 localhost ovs-vsctl: 00001|vsctl|INFO|Called as 
/usr/bin/ovs-vsctl --timeout=2 set Port tap52219c7c-58 tag=2
Jan 10 03:08:08 localhost rhsmd: In order for Subscription Manager to 
provide your system with updates, your system must be registered with the 
Customer Portal. Please enter your Red Hat login to ensure your system is 
up-to-date.
Jan 10 03:09:56 localhost ovs-vsctl: 00001|vsctl|INFO|Called as ovs-vsctl 
--timeout=5 -- --may-exist add-port br-int tapfa0534a4-0b -- set Interface 
tapfa0534a4-0b "external-ids:attached-mac=\"FA:16:3E:11:D0:13\"" -- set 
Interface tapfa0534a4-0b 
"external-ids:iface-id=\"fa0534a4-0be8-4122-8f86-3950ffd9a0e6\"" -- set 
Interface tapfa0534a4-0b 
"external-ids:vm-id=\"6a9023d1-fc24-4f35-a207-5c567d447ac5\"" -- set 
Interface tapfa0534a4-0b external-ids:iface-status=active
Jan 10 03:09:56 localhost kernel: device tapfa0534a4-0b entered 
promiscuous mode
Jan 10 03:09:56 localhost NetworkManager[1610]: <warn> 
/sys/devices/virtual/net/tapfa0534a4-0b: couldn't determine device driver; 
ignoring...
Jan 10 03:09:56 localhost qemu-system-x86_64: Could not find keytab file: 
/etc/qemu/krb5.tab: No such file or directory
Jan 10 03:09:58 localhost ovs-vsctl: 00001|vsctl|INFO|Called as 
/usr/bin/ovs-vsctl --timeout=2 set Port tapfa0534a4-0b tag=1
Jan 10 03:35:57 localhost kernel: device tapfa0534a4-0b left promiscuous 
mode


--------------------------------------------------
Cloud Solutions & OpenStack Development
China Systems & Technology Laboratory in Beijing
Email: dzyu at cn.ibm.com
Tel:   (86)10-82450677
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140110/fb05cf15/attachment.html>


More information about the Dnsmasq-discuss mailing list