Activity log for bug #1314760

Date Who What changed Old value New value Message
2014-04-30 18:33:32 Vince N bug added bug
2014-04-30 20:36:06 Vince N tags apport-collected saucy
2014-04-30 20:36:08 Vince N description According to RFC 2790 the hrSWInstalledIndex should start at 1: hrSWInstalledIndex OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "A unique value for each piece of software installed on the host. This value shall be in the range from 1 to the number of pieces of software installed on the host." ::= { hrSWInstalledEntry 1 } However, when grabbing the hrSWInstalledTable, my first entry is at index 0. Example: $ snmpbulkget -v2c -c public -Cn1 -Cr1 -ObentU localhost 1.3.6.1.2.1.25.6.3 .1.3.6.1.2.1.25.6.3.1.1.0 = INTEGER: 0 For a CentOS 6 host the behavior is according to spec: $ snmpbulkget -v2c -c public -Cn1 -Cr1 -ObentU centos6_srv.example.com 1.3.6.1.2.1.25.6.3 .1.3.6.1.2.1.25.6.3.1.1.1 = INTEGER: 1 I found this issue while trying to read HOST-RESOURCES-MIB::hrSWRunPerfTable with pysnmp, but kept getting an exception: ConstraintsIntersection(ConstraintsIntersection(ConstraintsIntersection(), ValueRangeConstraint(-2147483648, 2147483647)), ValueRangeConstraint(1, 2147483647)) failed at: "ValueRangeConstraint(1, 2147483647) failed at: "0"" at Integer32 According to RFC 2790 the hrSWInstalledIndex should start at 1: hrSWInstalledIndex OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "A unique value for each piece of software installed on the host. This value shall be in the range from 1 to the number of pieces of software installed on the host." ::= { hrSWInstalledEntry 1 } However, when grabbing the hrSWInstalledTable, my first entry is at index 0. Example: $ snmpbulkget -v2c -c public -Cn1 -Cr1 -ObentU localhost 1.3.6.1.2.1.25.6.3 .1.3.6.1.2.1.25.6.3.1.1.0 = INTEGER: 0 For a CentOS 6 host the behavior is according to spec: $ snmpbulkget -v2c -c public -Cn1 -Cr1 -ObentU centos6_srv.example.com 1.3.6.1.2.1.25.6.3 .1.3.6.1.2.1.25.6.3.1.1.1 = INTEGER: 1 I found this issue while trying to read HOST-RESOURCES-MIB::hrSWRunPerfTable with pysnmp, but kept getting an exception: ConstraintsIntersection(ConstraintsIntersection(ConstraintsIntersection(), ValueRangeConstraint(-2147483648, 2147483647)), ValueRangeConstraint(1, 2147483647)) failed at: "ValueRangeConstraint(1, 2147483647) failed at: "0"" at Integer32 --- ApportVersion: 2.12.5-0ubuntu2.2 Architecture: amd64 DistroRelease: Ubuntu 13.10 InstallationDate: Installed on 2011-04-30 (1095 days ago) InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) MarkForUpload: True Package: net-snmp (not installed) ProcVersionSignature: Ubuntu 3.11.0-19.33-generic 3.11.10.5 Tags: saucy Uname: Linux 3.11.0-19-generic x86_64 UpgradeStatus: Upgraded to saucy on 2013-10-18 (194 days ago) UserGroups: adm admin cdrom dialout libvirtd lpadmin netdev plugdev sambashare wireshark
2014-04-30 20:36:09 Vince N attachment added ProcEnviron.txt https://bugs.launchpad.net/bugs/1314760/+attachment/4101742/+files/ProcEnviron.txt
2014-05-01 10:33:21 Robie Basak net-snmp (Ubuntu): importance Undecided Medium
2017-10-18 02:00:37 Eugene M. Kim attachment added The upstream fix for the bug https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/4974338/+files/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch
2017-10-18 02:01:05 Launchpad Janitor net-snmp (Ubuntu): status New Confirmed
2017-10-18 02:01:30 Eugene M. Kim bug added subscriber Eugene M. Kim
2017-10-18 04:19:19 Ubuntu Foundations Team Bug Bot tags apport-collected saucy apport-collected patch saucy
2017-10-18 04:19:28 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2017-12-08 12:36:18 Christian Ehrhardt  bug added subscriber Ubuntu Server Team
2017-12-08 12:36:39 Christian Ehrhardt  tags apport-collected patch saucy apport-collected patch saucy server-next
2018-02-20 14:36:15 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/net-snmp/+git/net-snmp/+merge/338099
2018-02-22 12:32:46 Andreas Hasenack net-snmp (Ubuntu): assignee ChristianEhrhardt (paelzer)
2018-02-22 12:32:49 Andreas Hasenack net-snmp (Ubuntu): status Confirmed In Progress
2018-02-23 07:11:06 Christian Ehrhardt  net-snmp (Ubuntu): status In Progress Incomplete
2018-02-26 19:04:37 Vince N attachment added snmpd.conf https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/5063675/+files/snmpd.conf
2018-02-26 19:11:32 Vince N attachment added Dockerfile https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/5063685/+files/Dockerfile
2018-02-26 21:35:19 Vince N attachment added hrSwInstall.py https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/5063904/+files/hrSwInstall.py
2018-03-02 08:12:43 Launchpad Janitor net-snmp (Ubuntu): status Incomplete Fix Released
2019-01-30 19:45:56 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ahasenack/ubuntu/+source/net-snmp/+git/net-snmp/+merge/362485
2019-02-01 13:54:35 Andreas Hasenack merge proposal unlinked https://code.launchpad.net/~ahasenack/ubuntu/+source/net-snmp/+git/net-snmp/+merge/362485