[OpenIndiana-discuss] ntpd log message about AF_INET6 interface

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Sat Mar 8 03:15:47 UTC 2014


On OpenIndiana 5.11 oi_151a9 I am seeing a message in 
/var/adm/messages every five minutes which looks like:

Mar  7 20:40:33 weerd ntpd[19474]: [ID 702911 daemon.error] bind(54) 
AF_INET6 fe80::225:90ff:fe6b:ace0%26%26#123 flags 0x11 failed: Cannot 
assign requested address
Mar  7 20:40:33 weerd ntpd[19474]: [ID 702911 daemon.error] unable to 
create socket on igb0 (6) for fe80::225:90ff:fe6b:ace0%26#123

This is really clogging up the log files.

ifconfig shows:

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
 	inet 127.0.0.1 netmask ff000000 
igb0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 4
 	inet 65.66.246.66 netmask ffffffe0 broadcast 65.66.246.95
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
 	inet6 ::1/128 
igb0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 4
 	inet6 fe80::225:90ff:fe6b:ace0/10

and /etc/inet/ntp.conf contains:

server 65.66.246.74
restrict default ignore
restrict 65.66.246.74 nomodify
restrict 65.66.246.64 mask 255.255.255.224 nomodify notrap nopeer
restrict 127.0.0.1
restrict -6 ::1

It seems that passing -4 as an argument to ntpd should cause this 
warning to go away.

The service name is svc:/network/ntp:default.  Is there a way to add 
this option to the server arguments without editing the service 
definition itself?  If not, is there an easy way to make this 
annoyance stop?

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



More information about the OpenIndiana-discuss mailing list