Jira (FACT-2908) On a SmartOS base64 zone, `os.release.*` facts are null

5 views
Skip to first unread message

Steve Mokris (Jira)

unread,
Jan 6, 2021, 8:24:04 PM1/6/21
to puppe...@googlegroups.com
Steve Mokris created an issue
 
Facter / Bug FACT-2908
On a SmartOS base64 zone, `os.release.*` facts are null
Issue Type: Bug Bug
Affects Versions: FACT 4.0.38
Assignee: Unassigned
Created: 2021/01/06 5:23 PM
Priority: Normal Normal
Reporter: Steve Mokris

On the SmartOS base64 zone:

# facter os
{
  architecture => "i86pc",
  family => "Solaris",
  hardware => "i86pc",
  name => "Solaris",
  release => {
    full => null,
    major => null,
    minor => null
  }
}
# facter --version
4.0.38
# uname -a
SunOS somezone 5.11 joyent_20201217T173522Z i86pc i386 i86pc illumos
# cat /etc/release 
                                SmartOS x86_64
              Copyright 2010 Sun Microsystems, Inc.  All Rights Reserved.
                   Copyright 2015 Joyent, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                   See joyent_20161222T003450Z for assembly date and time.
# cat /etc/product
Name: Joyent Instance
Image: base-64 20.3.0
Documentation: https://docs.joyent.com/images/smartos/base

On the host:

# imgadm list
UUID                                  NAME                    VERSION       OS       TYPE          PUB
cfa9c88e-03f8-11eb-9980-879ff7980a9f  base-64                 20.3.0        smartos  zone-dataset  2020-10-01

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Steve Mokris (Jira)

unread,
Jan 6, 2021, 8:31:03 PM1/6/21
to puppe...@googlegroups.com
Steve Mokris updated an issue
Change By: Steve Mokris
Acceptance Criteria: I'm thinking "20.3.0" (found in {{/etc/product}}) would most accurately represent the state of the container, since it's the version of the image this zone was based on.  Also it may be more accurate for the {{os.name}} fact to be "SmartOS", to distinguish it from other Solarises.

Mihai Buzgau (Jira)

unread,
Mar 2, 2021, 7:58:56 PM3/2/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages