Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. 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#18957 - [net-tools] netstats -s return ``error parsing /proc/net/snmp: Success''

Attached to Project: Arch Linux
Opened by Benoit Izac (benizac) - Sunday, 04 April 2010, 09:11 GMT
Last edited by Ronald van Haren (pressh) - Monday, 22 August 2011, 08:06 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

When running netstat -s, there is always an error:
error parsing /proc/net/snmp: Success

I found a solution here: <http://kerneltrap.org/mailarchive/linux-netdev/2007/11/10/401462/thread>.

Attached is a patch to remove this error.
This task depends upon

Closed by  Ronald van Haren (pressh)
Monday, 22 August 2011, 08:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  net-tools 1.60.20110819cvs-1
Comment by Benoit Izac (benizac) - Sunday, 04 April 2010, 09:34 GMT
Sorry for the typo in title and I forgot to change pkgrel...
Comment by Massimiliano Torromeo (mtorromeo) - Friday, 06 May 2011, 09:30 GMT
This bug is years-old but still valid.
RedHat seems to have fixed it, I've looked for more info online and found this: http://rhn.redhat.com/errata/RHBA-2009-1677.html
They increased the buffer from 1024 to 2048 bytes in statistics.c:process_fd() just like in the proposed patch.
Comment by Ronald van Haren (pressh) - Monday, 22 August 2011, 07:51 GMT
Is it still an issue in net-tools 1.60.20110819cvs-1?
Comment by Massimiliano Torromeo (mtorromeo) - Monday, 22 August 2011, 08:04 GMT
It is working fine in 1.60.20110819cvs-1

Loading...