Jira (FACT-2921) LinuxMint Tessa not recognized, destroys services

0 views
Skip to first unread message

Hanno Steinke (Jira)

unread,
Jan 15, 2021, 10:34:04 AM1/15/21
to puppe...@googlegroups.com
Hanno Steinke created an issue
 
Facter / Bug FACT-2921
LinuxMint Tessa not recognized, destroys services
Issue Type: Bug Bug
Affects Versions: FACT 4.0.47
Assignee: Unassigned
Components: Facter 4
Created: 2021/01/15 7:33 AM
Environment:

root@bravo:~# cat /etc/os-release
NAME="Linux Mint"
VERSION="19.1 (Tessa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
VERSION_ID="19.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tessa
UBUNTU_CODENAME=bionic

 

root@bravo:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

 

Priority: Normal Normal
Reporter: Hanno Steinke

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 }

}
}}

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Hanno Steinke (Jira)

unread,
Jan 15, 2021, 10:43:05 AM1/15/21
to puppe...@googlegroups.com
Hanno Steinke commented on Bug FACT-2921
 
Re: LinuxMint Tessa not recognized, destroys services

To help clarify this, here are the OS details:

root@bravo:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

root@bravo:~# cat /etc/debian_version
buster/sid


root@bravo:~# cat /etc/os-release
NAME="Linux Mint"
VERSION="19.1 (Tessa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
VERSION_ID="19.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tessa
UBUNTU_CODENAME=bionic

Hanno Steinke (Jira)

unread,
Jan 15, 2021, 10:44:03 AM1/15/21
to puppe...@googlegroups.com
Hanno Steinke updated an issue
 
Change By: Hanno Steinke
Environment:
root@bravo:~# cat /etc/os-release
NAME="
Linux Mint "
VERSION="
19.1 ( Tessa
)"

ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
VERSION_ID="19.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tessa
UBUNTU_CODENAME=bionic

 

root@bravo:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

 

Mihai Buzgau (Jira)

unread,
Jan 19, 2021, 10:58:03 AM1/19/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2021-02-03

Mihai Buzgau (Jira)

unread,
Jan 19, 2021, 10:59:03 AM1/19/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Jan 20, 2021, 4:46:04 AM1/20/21
to puppe...@googlegroups.com

Oana Tanasoiu (Jira)

unread,
Jan 20, 2021, 8:58:03 AM1/20/21
to puppe...@googlegroups.com

Oana Tanasoiu (Jira)

unread,
Jan 28, 2021, 1:20:04 PM1/28/21
to puppe...@googlegroups.com
Oana Tanasoiu commented on Bug FACT-2921
 
Re: LinuxMint Tessa not recognized, destroys services

Hi Hanno Steinke,

 

The problem you reported seems to be fixed with the latest Facter. Could you verify if the problem still persists with the latest release?

I also saw that the os.release fact is reported differently than Facter 3 and i opened a PR to fix that.

Josh Cooper (Jira)

unread,
Jan 28, 2021, 6:00:04 PM1/28/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Fix Version/s: FACT 4.0.50

Hanno Steinke (Jira)

unread,
Jan 29, 2021, 10:22:04 AM1/29/21
to puppe...@googlegroups.com
Hanno Steinke commented on Bug FACT-2921
 
Re: LinuxMint Tessa not recognized, destroys services

thank you Oana Tanasoiu! upgraded to puppet 7.3.0 and facter 4.0.49 and everything is normal again

{{root@charly:~# facter --version
4.0.49
root@charly:~# facter os


{
architecture => "amd64",
distro => {
codename => "tessa",
description => "Linux Mint 19.1",
id => "Linuxmint",
release =>

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

},


family => "Debian",
hardware => "x86_64",

name => "Linux",
release =>

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

,
selinux =>

{ enabled => false }

}
}}

Oana Tanasoiu (Jira)

unread,
Feb 3, 2021, 4:19:03 AM2/3/21
to puppe...@googlegroups.com
Oana Tanasoiu updated an issue
 
Change By: Oana Tanasoiu
Release Notes: Bug Fix
Release Notes Summary: 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)

Claire Cadman (Jira)

unread,
Feb 5, 2021, 4:26:03 AM2/5/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages