I agree to "I've worked around this for a few years now; it would be
nice to see an upstream fix merged.". If the upstream policy on
releasing would not be that bad Debian and Ubuntu would also have that
for years already.

Anyway no time to complain ... with your suggestions I got a repro case:

On any Bionic system:
$ apt install snmpd snmp snmp-mibs-downloader
# Add to /etc/snmp/snmpd.conf
  view   systemonly  included   .1.3.6.1.2.1.25
  rocommunity public  localhost
$ systemctl restart snmpd
$ snmpbulkget -v2c -c public -Cn1 -Cr1 -Os localhost 
HOST-RESOURCES-MIB::hrSWInstalledTable
hrSWInstalledIndex.0 = INTEGER: 0

Installed from the ppa:
$ snmpbulkget -v2c -c public -Cn1 -Cr1 -Os localhost 
HOST-RESOURCES-MIB::hrSWInstalledTable
hrSWInstalledIndex.1 = INTEGER: 1

Also the upgrade was smooth, with all that in place (MP, Test, ...)
ready to upload.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1314760

Title:
  first hrSWInstalledIndex is 0, should be 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to