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

LinuxMint Tessa not recognized, destroys services

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • FACT 4.0.47
    • FACT 4.0.50
    • Facter 4
    • Linux Mint 19.1 Tessa

    • 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.
    • Night's Watch
    • 3
    • NW - 2021-02-03
    • Needs Assessment
    • Bug Fix
    • 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)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support