[Userland] [OpenIndiana Distribution - Bug #4603] ntpd tries to bind to a link-local address

illumos project devnull at illumos.org
Sat Mar 1 02:14:36 UTC 2014


Issue #4603 has been updated by Gary Mills.


I found the solution.  The Makefile.sfw in usr/src/cmd/ntpd contains this line:
@
CONFIGURE_OPTIONS +=	--disable-getifaddrs
@
Just delete that line, and the error messages all disappear, once you rebuild and reinstall.  The ntpd daemon binds to all addresses, both IPv4 and IPv6, and responds to `ntpq' on all of them.  It also keeps time correctly.

----------------------------------------
Bug #4603: ntpd tries to bind to a link-local address
https://www.illumos.org/issues/4603

Author: Gary Mills
Status: New
Priority: Normal
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version: 
Difficulty: Medium
Tags: ntp


Under oi_151a9, the NTP daemon tries periodically to bind to a link-local IPv6 address, logging these errors:
@
Feb 15 13:53:02 ati ntpd[345]: [ID 702911 daemon.error] bind(55) AF_INET6 fe80::ca60:ff:fe12:a83c%26%26#123 flags 0x11 failed: Cannot assign requested address
Feb 15 13:53:02 ati ntpd[345]: [ID 702911 daemon.error] unable to create socket on rge0 (4395) for fe80::ca60:ff:fe12:a83c%26#123
@
It should ignore that address.  I understand that this bug has been fixed for Linux in the ntpd source, but probably not for Solaris-based systems.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Userland-team mailing list