Bug 2266893

Summary: Linux 6.7 compatibility parsing /proc/net/snmp
Product: [Fedora] Fedora Reporter: Kapetanakis Giannis <bilias>
Component: net-snmpAssignee: Josef Ridky <jridky>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: camelot, goeran, jridky, jsafrane, mhjacks, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://github.com/net-snmp/net-snmp/issues/786
Whiteboard:
Fixed In Version: net-snmp-5.9.4-5.fc39 net-snmp-5.9.4-5.fc40 net-snmp-5.9.4-5.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-15 01:05:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kapetanakis Giannis 2024-02-29 08:20:36 UTC
I'm seeing these in my logs after updating to 6.7 kernel

snmpd[4714]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224

This one seems to fix it:
https://github.com/net-snmp/net-snmp/pull/785

Tested on top of net-snmp-5.9.4-1.fc39.x86_64 and works for me.


Reproducible: Always

Comment 1 camelot 2024-03-09 16:58:33 UTC
Link to issue of this incompatibility https://github.com/net-snmp/net-snmp/issues/786
Can the merged PR (of 3. Feb 2024, 5 weeks ago) applied to fedora releases? I'm still running old kernel because the log-spam is annoying

Comment 2 Fedora Update System 2024-03-12 19:38:59 UTC
FEDORA-2024-9c5035012e (net-snmp-5.9.4-5.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9c5035012e

Comment 3 Fedora Update System 2024-03-12 19:39:00 UTC
FEDORA-2024-505a0692c1 (net-snmp-5.9.4-5.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-505a0692c1

Comment 4 Fedora Update System 2024-03-12 19:39:01 UTC
FEDORA-2024-63b32a2b9e (net-snmp-5.9.4-5.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-63b32a2b9e

Comment 5 Fedora Update System 2024-03-12 20:55:03 UTC
FEDORA-2024-505a0692c1 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-505a0692c1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-505a0692c1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-03-13 01:13:51 UTC
FEDORA-2024-63b32a2b9e has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-63b32a2b9e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-63b32a2b9e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-03-13 02:11:47 UTC
FEDORA-2024-9c5035012e has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-9c5035012e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9c5035012e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Kapetanakis Giannis 2024-03-13 06:47:10 UTC
(In reply to Fedora Update System from comment #2)
> FEDORA-2024-9c5035012e (net-snmp-5.9.4-5.fc39) has been submitted as an
> update to Fedora 39.
> https://bodhi.fedoraproject.org/updates/FEDORA-2024-9c5035012e

works for me on 6.7.9-200.fc39.x86_64

Comment 9 Fedora Update System 2024-03-15 01:05:45 UTC
FEDORA-2024-9c5035012e (net-snmp-5.9.4-5.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 camelot 2024-03-15 13:08:32 UTC
Thx, works great on aarch64 / fedora 39

Comment 11 Fedora Update System 2024-03-27 00:14:59 UTC
FEDORA-2024-505a0692c1 (net-snmp-5.9.4-5.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2024-03-28 01:40:51 UTC
FEDORA-2024-63b32a2b9e (net-snmp-5.9.4-5.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.