Jira (FACT-2914) macOS 11 reports incorrect os.macosx.version.major

21 views
Skip to first unread message

Clay Caviness (Jira)

unread,
Jan 12, 2021, 4:58:03 PM1/12/21
to puppe...@googlegroups.com
Clay Caviness created an issue
 
Facter / Bug FACT-2914
macOS 11 reports incorrect os.macosx.version.major
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/01/12 1:57 PM
Environment:

macOS 11.2

Priority: Normal Normal
Reporter: Clay Caviness

The current macOS major version is 11}, but facter reports it as {{11.2.

Starting with macOS 11, Apple is incrementing the second component of the release number for point releases (e.g., 11.0, 11.1, 11.2). It's assumed that going forward a new major version would be 12, 13, etc.

This is a change from previous releases, where Apple would increment the third digit (e.g., 10.15.1, 10.15.2), and a new major version would be 10.x.

This seems to be occurring here. I expect there will need to be logic to use the first component going forward, and the first two for versions starting with 10.

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

Clay Caviness (Jira)

unread,
Jan 12, 2021, 5:00:04 PM1/12/21
to puppe...@googlegroups.com
Clay Caviness updated an issue
Change By: Clay Caviness
The current macOS major version is {{11} }
, but facter reports it as {{11.2}}.

Starting with macOS 11, Apple is incrementing the second component of the release number for point releases (e.g., {{11.0}}, {{11.1}}, {{11.2}}). It's assumed that going forward a new major version would be {{12}}, {{13}}, etc.

This is a change from previous releases, where Apple would increment the third digit (e.g., {{10.15.1}}, {{10.15.2}}), and a new major version would be {{10.x}}.

This seems to be occurring [here|https://github.com/puppetlabs/facter/blob/bc5ccd4f3ef5b38dc72b7a6079a84fab6288ec77/lib/facter/facts/macosx/os/macosx/version.rb#L14]. I expect there will need to be logic to use the first component going forward, and the first two for versions starting with {{10}}.

Clay Caviness (Jira)

unread,
Jan 12, 2021, 5:19:03 PM1/12/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Feb 16, 2021, 10:51:03 AM2/16/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Sprint: Triaged tickets

Mihai Buzgau (Jira)

unread,
Feb 16, 2021, 10:51:04 AM2/16/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Apr 13, 2021, 9:54:04 AM4/13/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: Triaged tickets NW-2021-04-28
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Ciprian Badescu (Jira)

unread,
Apr 14, 2021, 5:51:01 AM4/14/21
to puppe...@googlegroups.com

Victor Bobosila (Jira)

unread,
Apr 19, 2021, 1:41:02 AM4/19/21
to puppe...@googlegroups.com

Gabriel Nagy (Jira)

unread,
Apr 19, 2021, 6:22:04 AM4/19/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Apr 21, 2021, 9:28:03 AM4/21/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Fix Version/s: FACT 4.1.1

Clay Caviness (Jira)

unread,
Apr 21, 2021, 3:45:03 PM4/21/21
to puppe...@googlegroups.com

Clay Caviness (Jira)

unread,
Apr 22, 2021, 11:59:04 AM4/22/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages