[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntp-bugs
Subject:    [ntp:bugs] [Bug 2792] New: ntpd (again) fails binding to tentative IPV6 addresses
From:       bugzilla-daemon () ntp ! org
Date:       2015-03-27 15:33:33
Message-ID: bug-2792-1197 () http ! bugs ! ntp ! org/
[Download RAW message or body]

http://bugs.ntp.org/show_bug.cgi?id=2792

             Bug #: 2792
           Summary: ntpd (again) fails binding to tentative IPV6 addresses
           Product: ntp
           Version: 4.2.8
          Platform: PC
        OS/Version: Linux
            Status: CONFIRMED
          Severity: normal
          Priority: P5
         Component: ntpd
        AssignedTo: stenn@ntp.org
        ReportedBy: burnicki@ntp.org
                CC: bugs@ntp.org
    Classification: Unclassified


Martin Burnicki <burnicki@ntp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |blocking4.2.8?

If an IPv6 address is assigned to a network interface which yet has ho link
then the interface is in a tentative state, and the address can not be bound
to.

Thus ntpd 4.2.8p1 on my Linux machine emits error messages periodically, while
it should silently retry until the interface has left tentative state.

A similar problem has been reported in bug #1134, and was fixed before ntpd
v4.2.6p5, but the error occurred again in 4.2.8:

pc-martin:/usr/sbin # ip addr
...
3: enp3s1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state
DOWN group default qlen 1000
    link/ether 00:1b:21:d6:57:15 brd ff:ff:ff:ff:ff:ff
    inet6 bad:babe::12/64 scope global tentative <----------------------
       valid_lft forever preferred_lft forever


This error message is emitted once every few seconds:

bind(25) AF_INET6 bad:babe::12#123 flags 0x11 failed: Cannot assign requested
address
Mar 27 16:28:16 pc-martin ntpd-4.2.8[25246]: unable to create socket on enp3s1
(8) for bad:babe::12#123

-- 
Configure bugmail: http://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bugs-announce mailing list
bugs-announce@lists.ntp.org
http://lists.ntp.org/listinfo/bugs-announce
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic