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

os release fact doesn't work correctly on Gentoo

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • FACT 3.1.8, FACT 3.3.0
    • FACT 3.6.0
    • None
    • Bug Fix
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support