Comment 0 for bug 715152

Revision history for this message
dnmvisser (dnmvisser) wrote : ntp wont run on IPv6 only host unless lo has 127.0.0.1 address

Binary package hint: ntp

Lucid host running IPv6 only, with network configured like this:

root@svn:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:86:00:15
          inet6 addr: 2001:610:148:dead:cafe:babe:0:29/64 Scope:Global
          inet6 addr: fe80::250:56ff:fe86:15/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:3164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2075 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1516490 (1.5 MB) TX bytes:387497 (387.4 KB)

lo Link encap:Local Loopback
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Now ntpd wont start:

./../libisc/ifiter_ioctl.c:567: REQUIRE(iter->pos < (unsigned int) iter->ifc.ifc_len) failed.
Aborted

After adding an IPv4 loopback address to lo interface:

ip addr add 127.0.0.1 dev lo

ntpd is able to start.

According to http://bugs.ntp.org/show_bug.cgi?id=397 this might be related to libisc.