5.1.0: kresd throwing many ERRORs in /var/log/messages

I flashed my Omnia with 5.1.0 this week. Which then downgraded itself to 5.0.4 because my branch was still set to HBS, so I manually switched to HBT and now I have 5.1.0 again (not sure if this bit is relevant, but it’s not the cleanest install path I can understand).

First day seemed to go well, but now I’m seeing a lot of:

Aug 20 07:35:24 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:25 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:25 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:25 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:26 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:26 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:26 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:26 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:26 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:26 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:26 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:27 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
Aug 20 07:35:27 turris kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied

in /var/log/messages

Is this a known issue in 5.1.0? If not, how can I investigate further to assist debugging the issue?

This is my time off the 3.x.y stream, so not sure how to help with testing yet.

Thanks

D

1 Like

Could it be that at that precise minute you force-disabled IPv6? Or more generally, does it happen even on multiple other minutes?

In any case, these lines show errors when sending UDP replies and they are ignored. The number after slash (= 1 in all your cases) indicates the number of packets that were (probably) lost when the line was logged. DNS generally handles lost UDP packets well, if there aren’t too many “at once”.

I’ve not done anything with my IPv6 settings so far. In the 7 hours uptime since I rebooted this morning, I have 2154 similar ERROR messages. Worst has been 213 messages in a single minute, but generally it’s much lower at 2 or 3 per minute. Majority are “sent -1 / 1” but it has got up to 8 on one entry:

root@turris:~# cat /var/log/messages | grep "ERROR: udp sendmmsg" | cut -c24- | sort | uniq -c
      2 kresd[6160]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
   2069 kresd[6412]: ERROR: udp sendmmsg() sent -1 / 1; Permission denied
     81 kresd[6412]: ERROR: udp sendmmsg() sent -1 / 2; Permission denied
      4 kresd[6412]: ERROR: udp sendmmsg() sent -1 / 3; Permission denied
      1 kresd[6412]: ERROR: udp sendmmsg() sent -1 / 8; Permission denied
root@turris:~#

I don’t think any functionality is broken, but would like to stop writing unnecessary messages to the log file.

Now I managed to reproduce those lines, but so far I don’t understand why the errors happen.

Checking my router, these messages are no longer appearing. The router installed new versions of various packages yesterday morning and I rebooted the device yesterday afternoon.

If there’s anything I can do to help track these messages down, please let me know.

1 Like