-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4
-
None
-
net-snmp-5.9.1-13.el9_4.1
-
None
-
Low
-
rhel-sst-cs-system-management
-
ssg_core_services
-
2
-
QE ack
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
Pass
-
Automated
-
None
What were you trying to do that didn't work?
When starting snmpd.service unit, I can see the following errors in the service status:
Jun 07 15:53:30 vm-snmp9 systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon.... Jun 07 15:53:30 vm-snmp9 snmpd[3840]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224 Jun 07 15:53:30 vm-snmp9 snmpd[3840]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224 Jun 07 15:53:30 vm-snmp9 snmpd[3840]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224 Jun 07 15:53:30 vm-snmp9 snmpd[3840]: NET-SNMP version 5.9.1 Jun 07 15:53:30 vm-snmp9 systemd[1]: Started Simple Network Management Protocol (SNMP) Daemon..
Apparently the code finds the header of the file too long, so probably doesn't parse it properly:
# head -1 /proc/net/snmp Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreates OutTransmits # head -1 /proc/net/snmp | wc -c 237
Please provide the package NVR for which bug is seen:
net-snmp-5.9.1-13.el9.x86_64
How reproducible:
Always
Steps to reproduce
- Start the service
- links to
-
RHBA-2024:135264 net-snmp update