From owner-freebsd-current@FreeBSD.ORG Sat May 23 20:28:58 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 E3E8B106564A for ; Sat, 23 May 2009 20:28:58 +0000 (UTC) (envelope-from wjw@withagen.nl) Received: from mail.digiware.nl (mail.digiware.nl [80.255.245.173]) by mx1.freebsd.org (Postfix) with ESMTP id A3E758FC18 for ; Sat, 23 May 2009 20:28:58 +0000 (UTC) (envelope-from wjw@withagen.nl) Received: from localhost (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 0AF6D1710E; Sat, 23 May 2009 22:13:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by localhost (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8kGZkFS8f7s1; Sat, 23 May 2009 22:13:02 +0200 (CEST) Received: from [192.168.2.10] (vaio [192.168.2.10]) by mail.digiware.nl (Postfix) with ESMTP id EFD241710A; Sat, 23 May 2009 22:13:01 +0200 (CEST) Message-ID: <4A1858CE.8050803@withagen.nl> Date: Sat, 23 May 2009 22:13:02 +0200 From: Willem Jan Withagen User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Nicolas Blais References: <7061d9f50905230958n5fd7d434t790a964e79511d6b@mail.gmail.com> <4A1853A7.8080606@digiware.nl> <7061d9f50905231257n29d9e75ehb827ffdc9c077353@mail.gmail.com> In-Reply-To: <7061d9f50905231257n29d9e75ehb827ffdc9c077353@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 20:28:59 -0000 Nicolas Blais wrote: > 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. > 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 .... > IPv4 mapped IPv6 address support=NO Well that should not be the case given what you have. You could use lsof to see what has the socket open already. Or start syslog with strace and see where it fails. Or first check when booting without firewall --WjW