Package: snmpd
Version: 5.2.1.2-4
Severity: normal

The man page for snmptrapd.conf claims that boolean configuration
directives can be specified as '1|yes|true|0|no|false'
However, only '1' is parsed correctly as true - 'yes', 'true', 'no',
'false', and '0' are all parsed as false.

(snmptrapd.c does 'if (atoi(cptr) == 1)' to determine if each
configuration directive string is true or false, and atoi() does not
parse strings)

Other programs in the snmpd package may do the same - I didn't check any
besides snmptrapd.

Thanks.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686-smp-custom
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages snmpd depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libsensors3                   1:2.9.2-5  library to read temperature/voltag
ii  libsnmp9                      5.2.1.2-4  NET SNMP (Simple Network Managemen
ii  libwrap0                      7.6.dbs-8  Wietse Venema's TCP wrappers libra

snmpd recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to