From owner-freebsd-current@FreeBSD.ORG Sat May 23 19:57:35 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFE441065743 for ; Sat, 23 May 2009 19:57:35 +0000 (UTC) (envelope-from clkroot@gmail.com) Received: from mail-bw0-f165.google.com (mail-bw0-f165.google.com [209.85.218.165]) by mx1.freebsd.org (Postfix) with ESMTP id 297FF8FC15 for ; Sat, 23 May 2009 19:57:34 +0000 (UTC) (envelope-from clkroot@gmail.com) Received: by bwz9 with SMTP id 9so2367843bwz.43 for ; Sat, 23 May 2009 12:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=5s7BUpCGOgSiGpuaMS4mmV/Feq5YUJjz5eLsCwm8vS4=; b=itvMG+ORfpWKKIrvhWseUVoxUa8FDqThKG5M5WDDyOgNl+p5udbWWi9D6gcauFvk35 Unr0Wmb42nWCwCYBZd5GwplJY82sDEA7iM2/7KLj+cm94bk/Yb3IEK8TIvoL1fJmN+ca yVcEj+qZappU+LJ0Q8FAF0Sg4H/ZMndclV81k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=mFTS04fz0LdZeYaC0tTudvjmTCpc8xtF6pZro6IVI2/fM3TXW2CIF/ZqnbWnQcCabM UBMxhsb/XCwiF24hVbgERXBtOzrdsHo031D2CuyiKi1OaPxQHQ5TvXVaT9MmKOufrm+Z nPdQktwvUi35w7dqUDpa2IVuvdaTT9IA0faq0= MIME-Version: 1.0 Sender: clkroot@gmail.com Received: by 10.204.112.205 with SMTP id x13mr5013537bkp.170.1243108653989; Sat, 23 May 2009 12:57:33 -0700 (PDT) In-Reply-To: <4A1853A7.8080606@digiware.nl> References: <7061d9f50905230958n5fd7d434t790a964e79511d6b@mail.gmail.com> <4A1853A7.8080606@digiware.nl> Date: Sat, 23 May 2009 15:57:33 -0400 X-Google-Sender-Auth: 236cbe21bb2558f5 Message-ID: <7061d9f50905231257n29d9e75ehb827ffdc9c077353@mail.gmail.com> From: Nicolas Blais To: Willem Jan Withagen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: syslogd starting before IPv6 network is up X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2009 19:57:35 -0000 On Sat, May 23, 2009 at 3:51 PM, Willem Jan Withagen wrote: > Nicolas Blais wrote: > >> I migrated one of my 8-CURRENT (Thu May 21) box to IPv6 and since then, I >> get the following message at boot: >> >> syslogd: bind: Can't assign requested address >> syslogd: bind: Can't assign requested address >> syslogd: >> child pid 250 exited with return code 1 >> >> and syslogd obviously fails to start. Apparently this problem has been >> reported before, but no actual solution other than start syslogd from >> rc.local was given. >> > > It is not because net.inet6.ip6.v6only is off? > > Because than you otherwise get ip4 in ip6 mapping. > It should be of in recent releases, but in 5.x I remember it being on. > > --WjW > > Perhaps you are right, but that interface requires ip4 to connect to the tunnel broker and become ip6-capable. I don't understand why that sysctl should have an effect on the rcorder. I checked and net.inet6.ip6.v6only: 1 Here's my dmesg: /etc/rc: WARNING: failed to start syslogd Starting Network: lo0 em0. May 22 15:59:53 pflogd[620]: [priv]: msg PRIV_OPEN_LOG received pf enabled add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 net.inet6.ip6.forwarding: 0 -> 1 net.inet6.ip6.accept_rtadv: 0 -> 0 em0: flags=8843 metric 0 mtu 1500 options=19b inet6 fe80::221:9bff:fe34:a235%em0 prefixlen 64 scopeid 0x1 xl0: flags=8843 metric 0 mtu 1500 options=9 inet6 fe80::20a:5eff:fe20:c915%xl0 prefixlen 64 scopeid 0x2 plip0: flags=8851 metric 0 mtu 1500 pflog0: flags=141 metric 0 mtu 33152 lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 pfsync0: flags=41 metric 0 mtu 1460 add net fe80::: gateway ::1 add net ff02::: gateway ::1 IPv4 mapped IPv6 address support=NO Configuring keyboard: keymap . DHCPREQUEST on em0 to 255.255.255.255 port 67 DHCPACK from 192.168.15.1 bound to 192.168.15.58 -- renewal in 1800 seconds. Nicolas