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

LinuxMint Tessa not recognized, destroys services

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 4.0.47
    • Fix Version/s: FACT 4.0.50
    • Component/s: Facter 4
    • Labels:
    • Environment:

      Linux Mint 19.1 Tessa

    • Template:
    • Acceptance Criteria:
      Hide

      Output of facter 4.x should be the same as for 3.14.14.

      Show
      Output of facter 4.x should be the same as for 3.14.14.
    • Team:
      Night's Watch
    • Story Points:
      3
    • Sprint:
      NW - 2021-02-03
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Description of the problem: Os.release fact is retrieved from the /etc/os-release file but Facter 3 reads other release files based on OS.

      Description of the fix: Retrieve os.release from the specific release file for every os. (LinuxMint, Devuan, Meego, Sled, Gentoo, Alpine, Photon, Slackware, Mageia, Openwrt, OracleLinux, Oracle Enterprise Linux)
      Show
      Description of the problem: Os.release fact is retrieved from the /etc/os-release file but Facter 3 reads other release files based on OS. Description of the fix: Retrieve os.release from the specific release file for every os. (LinuxMint, Devuan, Meego, Sled, Gentoo, Alpine, Photon, Slackware, Mageia, Openwrt, OracleLinux, Oracle Enterprise Linux)
    • QA Risk Assessment:
      Needs Assessment

      Description

      After upgrading puppet to puppet 7 on LinuxMint 19.1 Tessa, all services deployed by Puppet were broken because they have been considered as upstart instead of systemd.

      Downgrading to puppet 6 corrected the issue. I did not completely understand the logic, but it seems to be caused by these different facter outputs:

      {{
      root@bravo:~# facter --version
      4.0.47
      root@bravo:~# facter os
      {
      architecture => "amd64",
      distro => {
      codename => "tessa",
      description => "Linux Mint 19.1",
      id => "Linuxmint",
      release =>

      { full => "19.1", major => "19.1" }


      },
      family => "Ubuntu",
      hardware => "x86_64",
      name => "Linux",
      release =>

      { full => "19.1", major => "19.1" }

      ,
      selinux =>

      { enabled => false }
      }

      root@bravo:~# facter --version
      3.14.14 (commit e36657bea27254f003c8fc71d8ef57454db643e2)
      root@bravo:~# facter os
      {
      architecture => "amd64",
      distro => {
      codename => "tessa",
      description => "Linux Mint 19.1 Tessa",
      id => "LinuxMint",
      release => { full => "19.1", major => "19", minor => "1" }
      },
      family => "Debian",
      hardware => "x86_64",
      name => "LinuxMint",
      release => { full => "19", major => "19" },
      selinux => { enabled => false }

      }
      }}

        Attachments

          Activity

            People

            Assignee:
            oana.tanasoiu Oana Tanasoiu
            Reporter:
            xavvo Hanno Steinke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support