#20673: syslog to IPv6 host binds to localhost at boot
-----------------------------------------+--------------------------------
Reporter: kenyon@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: base system | Version: Chaos Calmer 15.05
Keywords: syslog logging IPv6 logread |
-----------------------------------------+--------------------------------
I have system.@system[0].log_ip set to an IPv6 address:
{{{
# uci show system.@system[0].log_ip
system.cfg02e48a.log_ip='2600:3c01::f03c:91ff:fe93:b0d1'
}}}
It appears that the logread process is binding to ::1 at bootup, as shown
in this ss output:
`udp ESTAB 0 0 ::1:38182
2600:3c01::f03c:91ff:fe93:b0d1:syslog`
Simply doing /etc/init.d/log restart gets logging working:
`udp ESTAB 0 0 2001:470:d:6ad::4:37366
2600:3c01::f03c:91ff:fe93:b0d1:syslog`
So I would guess that the remote syslog process is starting too early. It
needs to wait until IPv6 addresses are assigned to interfaces. In my case,
the IPv6 address is assigned statically with `option ip6addr` in
`/etc/config/network`.
--
Ticket URL: <https://dev.openwrt.org/ticket/20673>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets