The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #15306

'virtual' fact missing on SmartOS / Solaris

Added by Jakob Borg over 3 years ago. Updated almost 3 years ago.

Status:Merged - Pending ReleaseStart date:06/29/2012
Priority:NormalDue date:
Assignee:-% Done:


Target version:1.6.18
Keywords: Affected Facter version:1.6.10

We've Moved!

Ticket tracking is now hosted in JIRA:


On a Joyent SmartMachine, facter doens’t report the ‘virtual’ fact. When running facter, the warning “Could not retrieve virtual: invalid byte sequence in UTF-8” is displayed before the output. The root cause is that /proc/self/status is read and checked for a regexp match as part of the test for vserver. However the contents are binary (on this platform) and ruby1.9 throws the exception above. The solution is to read the file in binary mode; I’ll send a pull request.


#1 Updated by Jakob Borg over 3 years ago

  • % Done changed from 0 to 100

A fix is available in

#2 Updated by Anonymous over 3 years ago

  • Status changed from Unreviewed to In Topic Branch Pending Review

#3 Updated by Anonymous over 3 years ago

  • Branch set to

#4 Updated by Anonymous almost 3 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release
  • Target version set to 1.6.18

Merged into 1.6.x as bf19fb3.

This should be released in 1.6.18.

Thanks again for the contribution!


Also available in: Atom PDF