SNMPD version depends on PCI bus

Not sure if I get the version topics right, but it looks like the repository version is older then the latest patched ones.
Was trying to install SNMPD but when starting it getting an erro that pcilib: Cannot open /proc/bus/pci which is obvious as the PI doesn’t have a PCI bus.
This bug report (and it’s solution) seems to be applicable https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745956
The version that get’s installed when doing a apt-get install snmpd is 5.7.2.1+dfsg-1
How can get the patched version 5.7.2.1~dfsg-5 installed?

Is this on a Pi 1 or 2?

Hi @sam_nazarko,

thats on a Pi2

Just tested it on a PI1 while the error message is also in the logfiles it seems to work. Will test a bit more.

Ok, now it is working on the PI1 and PI2. Actually I had an error in the authorization module.

The error/warning about PCI still appears but snmpd runs without issue

Oct 29 00:33:31 osmc.hongkong sudo[15877]: osmc : TTY=pts/0 ; PWD=/etc/snmp ; USER=root ; COMMAND=/bin/systemctl start snmpd
Oct 29 00:33:31 osmc.hongkong sudo[15877]: pam_unix(sudo:session): session opened for user root by osmc(uid=0)
Oct 29 00:33:31 osmc.hongkong snmpd[15880]: Starting SNMP services::pcilib: Cannot open /proc/bus/pci
Oct 29 00:33:31 osmc.hongkong snmpd[15882]: pcilib: Cannot find any working access method.
Oct 29 00:33:31 osmc.hongkong snmpd[15882]: pcilib: pci_init failed
Oct 29 00:33:31 osmc.hongkong snmpd[15882]: /usr/share/mibs: No such file or directory
Oct 29 00:33:31 osmc.hongkong snmpd[15882]: Turning on AgentX master support.
Oct 29 00:33:31 osmc.hongkong snmpd[15880]: snmpd
Oct 29 00:33:31 osmc.hongkong snmpd[15884]: NET-SNMP version 5.7.2.1