From owner-freebsd-net@FreeBSD.ORG Thu Jan 8 20:52:37 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7CD275D7; Thu, 8 Jan 2015 20:52:37 +0000 (UTC) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31DC98CF; Thu, 8 Jan 2015 20:52:37 +0000 (UTC) Received: by mail-qg0-f45.google.com with SMTP id z107so4749417qgd.4; Thu, 08 Jan 2015 12:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3MYA7CJgG6D09MXsvh/PXduordQbffJZXjtsp6tsIx0=; b=J6sXUptSm6nmxUf+QIpk0GEujhhCqa8lXkDbQA+JCG5WOa/hBy2ObU2HPXxs+G6KIP I4QQb1zQgGf6HFK1Gtjk/tt9AOs+sMtP3rbLcCaHKRu21ZUnS8FVzu8qjk4u638TnmuY sFZJDIO4h6jMcSNLN3qYjr7XeNl2e+y2C4v92e8vZsIZnVXAYtNllTeMeIQMoFXr3DqM QV6f8IUQWpIkRTQav+mrRXLiJTAo63qPuAwqdYDIvDGYRfZpWWSuwi+B5m5xVQeW81nG p9QzIWGIRoY02dmxI+gCEB+nQGMaLiyAq/Mxvx9CmkH12q3zu+yyyEoxlvhwTx5h/on+ SS4g== MIME-Version: 1.0 X-Received: by 10.224.26.132 with SMTP id e4mr19335211qac.7.1420750356341; Thu, 08 Jan 2015 12:52:36 -0800 (PST) Received: by 10.96.73.69 with HTTP; Thu, 8 Jan 2015 12:52:36 -0800 (PST) In-Reply-To: References: <1364308780.51602.YahooMailClassic@web31809.mail.mud.yahoo.com> <02416974-D249-4432-9CE6-6093CA9FCCD7@netapp.com> Date: Thu, 8 Jan 2015 12:52:36 -0800 Message-ID: Subject: Re: ntpd bind() failure: Can't assign requested address From: hiren panchasara To: Hajimu UMEMOTO Content-Type: text/plain; charset=UTF-8 Cc: "" , "Eggert, Lars" , "schrodinger@konundrum.org" , "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 20:52:37 -0000 On Thu, Jan 8, 2015 at 9:48 AM, hiren panchasara wrote: > On Thu, Jan 8, 2015 at 9:28 AM, Hajimu UMEMOTO wrote: >> Hi, >> >>>>>>> On Wed, 7 Jan 2015 16:56:58 -0800 >>>>>>> hiren panchasara said: >> >> hiren> I see this message on july 2014 time-frame -CURRENT. I tried to >> hiren> disable IPv6 in rc.conf via ipv6_activate_all_interfaces="NO" without >> hiren> success. >> >> hiren> Has this been fixed? Or any workarounds? >> >> Perhaps, your interface has an IPv6 link-local address which is >> tentative state. >> Please try the attached patch. This patch ignores a tentative >> address. > > Indeed its in tentative state and I figured it was causing the issue. > Getting it out of tentative state (by enabling IPv6 by 'inet6 > -ifdisabled' "fixed" the problem.) > But your patch seems like a right way to do it. I'll try it out and report back. > Attached patch is fixing the problem for me. cheers, Hiren > Btw, do you mind opening a phabricator review request so we can get a > closure on this?