[Bug 1088720] [NEW] facter virtual runs lspci unconditionally
James Troup
james.troup at canonical.com
Tue Dec 11 00:10:24 UTC 2012
Public bug reported:
'facter virtual' runs 'lspci' unconditionally on physical machines.
This causes warning spew on machines without PCI, e.g. arm.
| root at jenipapo:~# facter virtual
| pcilib: Cannot open /proc/bus/pci
| lspci: Cannot find any working access method.
| physical
| root at jenipapo:~#
Attached is the patch we've used to fix this locally, but it's
probably not suitable for upstream as it assumes Linux.
** Affects: facter (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Check for /proc/bus/pci/devices before running lspci"
https://bugs.launchpad.net/bugs/1088720/+attachment/3456648/+files/diff.txt
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to facter in Ubuntu.
https://bugs.launchpad.net/bugs/1088720
Title:
facter virtual runs lspci unconditionally
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/facter/+bug/1088720/+subscriptions
More information about the Ubuntu-server-bugs
mailing list