Skip to content

net-snmp 5.9.1 unexpected header length #59505

@VincentBentley

Description

@VincentBentley

Is this a new report?

Yes

System Info

Void 6.12.77_1 x86_64 GenuineIntel uptodate rr

Package(s) Affected

net-snmp-5.9.1_6

Does a report exist for this bug with the project's home (upstream) and/or another distro?

net-snmp/net-snmp#785

Expected behaviour

The package is supposed to use the correct header length for the current Linux kernel

Actual behaviour

The package uses an incorrect header length suitable for pre-6.7 kernel but not 6.7 or later kernels. Logs the following error in /var/log/snmpd.log

systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224

Steps to reproduce

  1. Create a runit service for snmpd
  2. Start service on Void Linux with 6.12.77 kernel
  3. cat /var/log/snmpd.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions