Devuan bug report logs - #151
salt-common does not recognize Devuan as a Debian family OS

Package: salt-common; Reported by: Chris Frey <cdfrey@foursquare.net>; Keywords: jessie; Done: Mark Hindley <mark@hindley.org.uk>; Maintainer for salt-common is (unknown).

Message received at 151-done@bugs.devuan.org:


Received: (at 151-done) by bugs.devuan.org; 14 Jan 2020 18:10:03 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 18:10:03 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 794C6F60BF0
	for <151-done@bugs.devuan.org>; Tue, 14 Jan 2020 19:04:01 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1irQXo-0000BK-7x
	for 151-done@bugs.devuan.org; Tue, 14 Jan 2020 18:04:00 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1irQXn-0004O7-BJ
	for 151-done@bugs.devuan.org; Tue, 14 Jan 2020 18:03:59 +0000
Date: Tue, 14 Jan 2020 18:03:59 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 151-done@bugs.devuan.org
Subject: Re: salt-common does not recognize Devuan as a Debian family OS
Message-ID: <20200114180359.GA16848@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Chris,

This is fixed in  salt-common 2018.3.4+dfsg1-6 which is in beowulf,
so closing.

Mark


Notification sent to Chris Frey <cdfrey@foursquare.net>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. Full text available.
Tags added: jessie Request was from KatolaZ <katolaz@freaknet.org> to control@bugs.devuan.org. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 2 Oct 2017 20:10:04 +0000
Return-Path: <cdfrey@digon.foursquare.net>
Delivered-To: devuanbugs@dyne.org
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Mon, 02 Oct 2017 22:10:04 +0200 (CEST)
Received: from digon.foursquare.net (digon.foursquare.net [206.47.163.199])
	by tupac2.dyne.org (Postfix) with ESMTP id 18D4518BB06
	for <submit@bugs.devuan.org>; Mon,  2 Oct 2017 20:08:35 +0000 (UTC)
Received: by digon.foursquare.net (Postfix, from userid 1000)
	id 8C0A7BFA6B; Mon,  2 Oct 2017 16:07:59 -0400 (EDT)
Date: Mon, 2 Oct 2017 16:07:59 -0400
From: Chris Frey <cdfrey@foursquare.net>
To: submit@bugs.devuan.org
Subject: salt-common does not recognize Devuan as a Debian family OS
Message-ID: <20171002200759.GA18202@foursquare.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=RP_MATCHES_RCVD
	autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2

Package: salt-common
Version: 2014.1.13+ds-3

Some states in salt rely on proper detection of the OS and OS Family
to function correctly.  If not properly detected, you can run into
errors like this:

	State pkg.installed found in sls linux is unavailable

To fix this, add the following to the file salt/grains/core.py:

	_OS_FAMILY_MAP = {
	    'Devuan': 'Debian',		# new member of the family
	    'Ubuntu': 'Debian',
	    ...

This fix is already in the latest upstream salt, so this only needs
to be fixed in Devuan itself.

Thanks,
- Chris



Acknowledgement sent to Chris Frey <cdfrey@foursquare.net>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#151; Package salt-common. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon, 25 May 2020 18:39:02 UTC