void-linux / void-linux/void-packages
net-snmp 5.9.1 unexpected header length
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
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?
https://github.com/net-snmp/net-snmp/pull/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
- Create a runit service for snmpd
- Start service on Void Linux with 6.12.77 kernel
- cat /var/log/snmpd.log
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the net-snmp-5.9.1_6 package and upstream pull request #785, then reproduce the issue on Void Linux with kernel 6.12.77 and inspect /var/log/snmpd.log. Done means snmpd uses the correct header length for current Linux kernels and no longer logs the unexpected-header-length error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100