The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #7726

Facter should not call prtconf inside a Solaris zone

Added by Adrien Thebo over 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:05/31/2011
Priority:LowDue date:
Assignee:Adrien Thebo% Done:

0%

Category:library
Target version:1.6.2
Keywords:solaris, prtconf Affected Facter version:1.6.1
Branch:https://github.com/adrienthebo/facter/tree/ticket%2Fmaster%2F7726

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

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.


Description

In a Solaris zone, facter will call prtconf, which is not available inside zones. Facter will fall back to using vmstat, but not before producing an error on stderr, which should be redirected from the exec call.

bash-3.00# facter 
prtconf: devinfo facility not available
facterversion => 1.5.9
hardwareisa => sparc
hardwaremodel => sun4u
hostname => blackrock
id => root
...

Related issues

Related to Facter - Bug #7038: Cannot use prtdiag in Solaris non-global zones Closed 04/11/2011

History

#1 Updated by Adrien Thebo over 3 years ago

  • Status changed from Accepted to In Topic Branch Pending Review

#2 Updated by Adrien Thebo over 3 years ago

  • Branch set to https://github.com/adrienthebo/facter/tree/ticket%2Fmaster%2F7726

#3 Updated by James Turnbull about 3 years ago

  • Category set to library

#4 Updated by Ken Barber almost 3 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release
  • Target version set to 144
  • Keywords set to solaris, prtconf
  • Affected Facter version changed from 1.5.9 to 1.6.1

#5 Updated by Michael Stahnke almost 3 years ago

  • Status changed from Merged - Pending Release to Closed
  • Target version changed from 144 to 1.6.2

Released in 1.6.2.

Also available in: Atom PDF