Page MenuHomeVyOS Platform

SNMPD show logs systemstats_linux: unexpected header length
Closed, ResolvedPublicBUG

Description

SNMPD show logs systemstats_linux: unexpected header length

To reproduce:

set service snmp community public client '127.0.0.1'

Check logs

May 01 15:03:58 f3 systemd[1]: Stopping snmpd.service - Simple Network Management Protocol (SNMP) Daemon....
May 01 15:03:58 f3 systemd[1]: snmpd.service: Deactivated successfully.
May 01 15:03:58 f3 systemd[1]: Stopped snmpd.service - Simple Network Management Protocol (SNMP) Daemon..
May 01 15:03:58 f3 systemd[1]: Starting snmpd.service - Simple Network Management Protocol (SNMP) Daemon....
May 01 15:03:58 f3 snmpd[88537]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
May 01 15:03:58 f3 snmpd[88537]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
May 01 15:03:58 f3 snmpd[88537]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
May 01 15:03:58 f3 systemd[1]: Started snmpd.service - Simple Network Management Protocol (SNMP) Daemon..

Kernel version:

vyos@r4# uname -r
6.6.29-amd64-vyos
[edit]
vyos@r4#

But the service looks working
Possible fix in https://github.com/net-snmp/net-snmp/pull/785

Details

Difficulty level
Normal (likely a few hours)
Version
VyOS 1.5-rolling-202405010020
Why the issue appeared?
Issues in third-party code
Is it a breaking change?
Perfectly compatible
Issue type
Package upgrade

Event Timeline

Viacheslav updated the task description. (Show Details)
Viacheslav updated the task description. (Show Details)
Viacheslav triaged this task as Normal priority.May 1 2024, 12:18 PM
c-po changed Why the issue appeared? from Will be filled on close to Issues in third-party code.May 14 2024, 5:26 PM
c-po changed the task status from Open to In progress.EditedJul 4 2024, 10:32 AM
c-po claimed this task.
c-po added a project: VyOS 1.5 Circinus.
c-po changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Bug (incorrect behavior) to Package upgrade.
c-po moved this task from In Progress to Finished on the VyOS 1.4 Sagitta (1.4.1) board.