Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-2914

macOS 11 reports incorrect os.macosx.version.major

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • FACT 4.1.1
    • None
    • None
    • macOS 11.2

    • Night's Watch
    • 2
    • NW - 2021-04-28
    • Needs Assessment
    • Fix os.macosx.version.major bad output for macOS 11 Big Sur
    • Needs Assessment

    Description

      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.

      Attachments

        Activity

          People

            victor.bobosila Victor Bobosila
            ccaviness Clay Caviness
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support