From owner-freebsd-net@FreeBSD.ORG Thu Jan 8 17:48:05 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 1A81795B; Thu, 8 Jan 2015 17:48:05 +0000 (UTC) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::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 C5420F2F; Thu, 8 Jan 2015 17:48:04 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id i17so3392241qcy.4; Thu, 08 Jan 2015 09:48:04 -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=RJ2FjCk+G4MsT/TaCd6aY/8o/O6X9KG1oGV2EFbVOiY=; b=CmuEvf2dKCvNGt+ziicBEEJOUB5qdbCLKnyBds18ILq5rtTkNz/fV9GFBE/c/X10cF 8NO1wuRES+rRY7iS0UA4J2OAIylGRBwKA79CaXtpMy4RZXAJfKcLd71zhA0jWw5MUfd2 qSWL6spxnwIvcSTibymtyQRryiVFn0E9KUcC5t1lm2y8m3Ku0Vh0nHcaeWHNYTe8yw3e PlSmaKBxuCfDYXBwo2JtKv0oR+bW5ql7o/1Pgl8xVv3S30DfCaiUSWSHopoOd1CHT3Nl jC30d4ZRO2qNKZ7hEPSqZhRbl34OUQqyvm8YRQ5/xyBQSAk/JiNj9JrMHPDU/LN330OC puxQ== MIME-Version: 1.0 X-Received: by 10.140.101.135 with SMTP id u7mr17015257qge.2.1420739282870; Thu, 08 Jan 2015 09:48:02 -0800 (PST) Received: by 10.96.73.69 with HTTP; Thu, 8 Jan 2015 09:48:02 -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 09:48:02 -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 17:48:05 -0000 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. Btw, do you mind opening a phabricator review request so we can get a closure on this? cheers, Hiren