syslogd starting before IPv6 network is up

Nicolas Blais nicblais at clkroot.net
Mon May 25 14:49:42 UTC 2009


On Sat, May 23, 2009 at 4:13 PM, Willem Jan Withagen <wjw at withagen.nl>wrote:

> Nicolas Blais wrote:
>
>> On Sat, May 23, 2009 at 3:51 PM, Willem Jan Withagen <wjw at digiware.nl
>> >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
>
>
I tried disabling the firewall and it didn't  fix the problem.

I have attached a dmesg -a with RC_DEBUG="YES"

Thanks,
Nicolas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.debug
Type: application/octet-stream
Size: 28516 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090525/265e7c70/rc.obj


More information about the freebsd-current mailing list