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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs