Red Hat Bugzilla – Bug 119203
patch: stop whining about missing MemShared in /proc/meminfo with kernel 2.6
Last modified: 2015-03-04 20:13:45 EST
Description of problem:
There is not a line starting MemShared reading /proc/meminfo with
kernel 2.6 anymore. It looks like on 2.4 it has usually had the value
of zero (0) if it existed.
Mar 26 13:27:47 quux snmpd: No MemShared line in /proc/meminfo
Mar 26 13:28:05 quux last message repeated 14 times
Mar 26 13:29:17 quux last message repeated 40 times
Mar 26 13:30:30 quux snmpd: No MemShared line in /proc/meminfo
Version-Release number of selected component (if applicable):
Attached patch prevents net-snmp from unnecessarily complaining about
the fact. Oneliner, really.
Created attachment 98879 [details]
oneliner commenting out unnecessary logging
It would be good if this made FC2. :)
Yeah, looks reasonable, too.
Will be included in next build, as usual. :-)
Read ya, Phil