Opened 2 years ago

#20673 new defect

syslog to IPv6 host binds to localhost at boot

Reported by: kenyon@… Owned by: developers
Priority: normal Milestone:
Component: base system Version: Chaos Calmer 15.05
Keywords: syslog logging IPv6 logread Cc:


I have system.@system[0].log_ip set to an IPv6 address:

# uci show system.@system[0].log_ip

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.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.