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

os release fact doesn't work correctly on Gentoo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 3.1.8, FACT 3.3.0
    • Fix Version/s: FACT 3.6.0
    • Component/s: None
    • Labels:
    • Template:
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Previously the Gentoo os::release fact was incorrectly reporting kernel version. Switch to reporting the release version from /etc/gentoo-release.

      Description

      It seems that Facter doesn't read the gentoo-release file correctly, instead providing the kernel version as os release data.

      $ facter os
      {
        architecture => "amd64",
        family => "Gentoo",
        hardware => "x86_64",
        name => "Gentoo",
        release => {
          full => "4.8.0",
          major => "4",
          minor => "8"
        },
        selinux => {
          enabled => false
        }
      }
      $ cat /etc/gentoo-release 
      Gentoo Base System release 2.2
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ananace Alexander Olofsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support