The Puppet Labs Issue Tracker has Moved:

Bug #15306

'virtual' fact missing on SmartOS / Solaris

Added by Jakob Borg almost 2 years ago. Updated over 1 year 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:

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


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 almost 2 years ago

  • % Done changed from 0 to 100

A fix is available in

#2 Updated by Anonymous almost 2 years ago

  • Status changed from Unreviewed to In Topic Branch Pending Review

#3 Updated by Anonymous almost 2 years ago

  • Branch set to

#4 Updated by Jeff McCune over 1 year 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