Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434102 - net-analyzer/net-snmp- 5.7 - snmpd seeking for PCI bus on xen guest
Summary: net-analyzer/net-snmp- 5.7 - snmpd seeking for PCI bus on xen guest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-06 10:06 UTC by Frederic Marchal
Modified: 2012-09-07 07:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo.txt,4.36 KB, text/plain)
2012-09-06 10:06 UTC, Frederic Marchal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Marchal 2012-09-06 10:06:17 UTC
Created attachment 323056 [details]
emerge --info

Hello 

After upgrading net-snmpd to 5.7.2 on one of my xen guests, I can't start the daemon anymore.
net-snmpd is trying to reach /proc/bus/pci.
I've got this error message :
"pcilib: Cannot open /proc/bus/pci 
pcilib: Cannot find any working access method." 

On my xen guests, there is no /proc/pus/pci !

I've found a workaround : http://stackoverflow.com/questions/9470494/snmpd-cannot-open-proc-bus-pci.
Unfortunately, I'm not enough "ebuild-aware" to build a patch for the ebuild with this workaround. I was thinking about a use flag which disable the pcilib.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-09-06 23:12:05 UTC
For now use the -r2 which has an USE flag already — it just isn't the stable one. I'm not sure if xen is worth a second stable, even with this being a regression.
Comment 2 Frederic Marchal 2012-09-07 07:45:49 UTC
(In reply to comment #1)
> For now use the -r2 which has an USE flag already — it just isn't the stable
> one. I'm not sure if xen is worth a second stable, even with this being a
> regression.

Thank you very much. I'm sorry that I didn't found the "related" bug https://bugs.gentoo.org/show_bug.cgi?id=432926.
I've emerged the masked net-snmp-5.7.2_rc1-r1 ebuild (I didn't found the r2, but this one has the pci USE flag), and the snmpd daemon started successfully.
The SNMP requests are back !

Regards