[Pkg-net-snmp-devel] Bug#597024: snmpd reports "truncating integer value > 32 bits" at ERROR loglevel, should be DEBUG
Dave Rawks
dave at pandora.com
Wed Sep 15 23:16:52 UTC 2010
Package: snmpd
Version: 5.4.1~dfsg-12
Severity: normal
Tags: patch
The "truncating integer value > 32 bits" logline should not be emitted
at the ERROR loglevel. On 64 bit machines there may be several counters
which are truncated and the truncation behavior is a natural result of
returning 32 bit counters. This logline should be emitted at INFO or
DEBUG loglevel so that sensible logging options maybe used with out this
logline spamming logs.
The following patch resolves this issue.
snmplib/snmp_client.c 805c805
< snmp_log(LOG_ERR,"truncating integer value > 32
bits\n");
---
> snmp_log(LOG_DEBUG,"truncating integer value > 32 bits\n");
816c816
< snmp_log(LOG_ERR,"truncating integer value > 32
bits\n");
---
> snmp_log(LOG_DEBUG,"truncating integer value > 32 bits\n");
827c827
< snmp_log(LOG_ERR,"truncating integer value > 32
bits\n");
---
> snmp_log(LOG_DEBUG,"truncating integer value > 32 bits\n");
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages snmpd depends on:
ii adduser 3.110 add and remove users and groups
ii debconf 1.5.24 Debian configuration
management sy
ii libc6 2.7-18lenny2 GNU C Library: Shared libraries
ii libsnmp15 5.4.1~dfsg-12 SNMP (Simple Network
Management Pr
ii libwrap0 7.6.q-16 Wietse Venema's TCP
wrappers libra
snmpd recommends no packages.
snmpd suggests no packages.
-- debconf information excluded
More information about the Pkg-net-snmp-devel
mailing list