Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22053 - [net-tools] Netstat fails on SNMP service

Attached to Project: Arch Linux
Opened by Tim Besard (maleadt) - Saturday, 11 December 2010, 11:23 GMT
Last edited by Ronald van Haren (pressh) - Monday, 22 August 2011, 08:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: running netstat results in an error parsing the SNMP service: <<error parsing /proc/net/snmp: Success>>

This seems to be a netstat issue, which has been fixed in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=131539

Additional info:
* package version(s): net-tools 1.60-14


Steps to reproduce:

[tim@serenity ~]$ sudo netstat -s
[snip]
error parsing /proc/net/snmp: Success

This task depends upon

Closed by  Ronald van Haren (pressh)
Monday, 22 August 2011, 08:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  net-tools 1.60.20110819cvs-1
Comment by nathan (ndowens) - Thursday, 27 January 2011, 08:03 GMT
I included a little patch that seems to work. Use the one named simply "patch". You would need to include it in the PKGBUILD and build net-tools to fix it.

The idea on how to fix it came from Fedora. Also this bug is the same as https://bugs.archlinux.org/task/18957 which also includes a patch.
What is wrong with the current version is that an array size is not large enough for the amount of data it is wanting to put in it. The fix is to up the array from size 1024 to 2048
Comment by Ronald van Haren (pressh) - Monday, 22 August 2011, 07:51 GMT
Is this still an issue with net-tools 1.60.20110819cvs-1 ?
Comment by Tim Besard (maleadt) - Monday, 22 August 2011, 08:38 GMT
It isn't, thanks for the fix!

Loading...