Public bug reported: 'facter virtual' runs 'lspci' unconditionally on physical machines. This causes warning spew on machines without PCI, e.g. arm.
| root@jenipapo:~# facter virtual | pcilib: Cannot open /proc/bus/pci | lspci: Cannot find any working access method. | physical | root@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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs