Issue #19989 has been updated by Todd Zullinger. Status changed from Unreviewed to In Topic Branch Pending Review Branch set to https://github.com/tmzullinger/facter/branches/tickets/1.6.x/19989-virt-what-ignore-cruft
I submitted a pull request for a fix to ignore bogus virt-what: output, until virt-what is changed to not send such output to stdout. https://github.com/puppetlabs/facter/pull/413 ---------------------------------------- Bug #19989: virtual fact with virt-what installed produces bogus output for non-root users https://projects.puppetlabs.com/issues/19989#change-87799 * Author: Todd Zullinger * Status: In Topic Branch Pending Review * Priority: Normal * Assignee: * Category: * Target version: * Keywords: * Branch: https://github.com/tmzullinger/facter/branches/tickets/1.6.x/19989-virt-what-ignore-cruft * Affected Facter version: 1.6.18 ---------------------------------------- When the virt-what program is present, facter tries to use this via Facter::Util::Virtual.virt_what. The problem is that virt-what only produces a warning to stdout for non-root users. $ facter --version; facter virtual 1.6.18 virt-what: this script must be run as root There is a long-standing bug for virt-what to work as non-root¹, but until that is resolved, facter should not rely on its output when run as non-root. ¹ https://bugzilla.redhat.com/show_bug.cgi?id=719611 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
