Devuan logs - #543, boring messages


Message sent to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:


X-Loop: owner@bugs.devuan.org
Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
Reply-To: Samuli Airaksinen <devuan@airasa.fi>, 543@bugs.devuan.org
Resent-From: Samuli Airaksinen <devuan@airasa.fi>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Wed, 03 Feb 2021 16:33:01 +0000
Resent-Message-ID: <handler.543.B.16123698025006@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.16123698025006
          (code B); Wed, 03 Feb 2021 16:33:01 +0000
Received: (at submit) by bugs.devuan.org; 3 Feb 2021 16:30:02 +0000
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); Wed, 03 Feb 2021 16:30:02 +0000 (UTC)
Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 3B64CF60B76
	for <submit@bugs.devuan.org>; Wed,  3 Feb 2021 17:27:20 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=airasa.fi header.i=@airasa.fi header.b="tAyWy7lc";
	dkim-atps=neutral
Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4DW6XQ1n27zQlYP
	for <submit@bugs.devuan.org>; Wed,  3 Feb 2021 17:27:18 +0100 (CET)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=airasa.fi; s=MBO0001;
	t=1612369636;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=fMy4qyFvuAXfvQrpfFrHdExobck/nROauKkicPniSGM=;
	b=tAyWy7lcn/XVyImb2d29n8Qje3I4DKSp1C9fU0JvqK+YYsbE3dUMA4gYEF52X2SxjBFCQS
	beQc6cDQZ+sDPIF8O3q2cOG143Iop5WjOwz1QxYFO20ZIYCda+FR6FpyFEg8FlhY/G8jQL
	AWI0R2sDm60yXbA1lHdr9OCkCJzvPInAXWP0H6qqFf4WqwwwtW8KsbAAddVm293Yxz9SC5
	CCydsLTyv6i4riyGGLl0Km4Hrq3A5yGtZM5pvCw3f5D4KUtwOukyrR3gf/4ZueOSW7ccLx
	euZbBlVBBhVA2FmLTh3qIF9Xj5KLLiOwNnYqOE/7S2oqij0/Yuv63bjY3lSMBg==
Received: from smtp2.mailbox.org ([80.241.60.241])
	by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030)
	with ESMTP id vueX8_MsyI61 for <submit@bugs.devuan.org>;
	Wed,  3 Feb 2021 17:27:14 +0100 (CET)
From: Samuli Airaksinen <devuan@airasa.fi>
To: submit@bugs.devuan.org
Message-ID: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
Date: Wed, 3 Feb 2021 18:27:14 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -4.51 / 15.00 / 15.00
X-Rspamd-Queue-Id: 06EF517D9
X-Rspamd-UID: 658ab2
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,
	RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: salt-minion
Version: 2018.3.4+dfsg1-6+deb10u2

In /etc/init.d/salt-minion , the line

DAEMON_ARGS="-d"

causes the minion to freeze upon startup. The -d switch, which runs the 
minion in the background, is ok when /usr/bin/salt-minion is ran 
interactively, but causes the minion to freeze when launched via service.

The switch is also warned against at 
https://ansible-cn.readthedocs.io/en/latest/topics/troubleshooting/minion.html 
. In Debian Buster the salt-minion service is also launched without the 
-d argument.

There is no error message. The last log message in log_levels "trace" 
and "garbage" is: "Getting lsb_release distro information", after which 
the minion remains unresponsive.

Emptying the DAEMON_ARGS fixes the problem and enables salt-minion to 
start properly.


Proposed patch:

@@ -15,7 +15,7 @@
  DESC="salt minion control daemon"
  NAME=salt-minion
  DAEMON=/usr/bin/salt-minion
-DAEMON_ARGS="-d"
+DAEMON_ARGS=""
  PIDFILE=/var/run/$NAME.pid
  SCRIPTNAME=/etc/init.d/$NAME

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Samuli Airaksinen <devuan@airasa.fi>
Subject: bug#543: Acknowledgement (DAEMON_ARGS in /etc/init.d/salt-minion
 prevents salt-minion startup)
Message-ID: <handler.543.B.16123698025006.ack@bugs.devuan.org>
References: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
X-Devuan-PR-Message: ack 543
X-Devuan-PR-Package: salt-minion
Reply-To: 543@bugs.devuan.org
Date: Wed, 03 Feb 2021 16:33:06 +0000

Thank you for filing a new bug report with Devuan.

You can follow progress on this bug here: 543: https://bugs.devuan.org/cgi/=
bugreport.cgi?bug=3D543.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 devuan-dev@lists.dyne.org

If you wish to submit further information on this problem, please
send it to 543@bugs.devuan.org.

Please do not send mail to owner@bugs.devuan.org unless you wish
to report a problem with the Bug-tracking system.

--=20
543: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D543
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems

Message sent to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:


X-Loop: owner@bugs.devuan.org
Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
Reply-To: Mark Hindley <mark@hindley.org.uk>, 543@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Wed, 03 Feb 2021 17:48:01 +0000
Resent-Message-ID: <handler.543.B543.161237400312394@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: 
References: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi> <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
Received: via spool by 543-submit@bugs.devuan.org id=B543.161237400312394
          (code B ref 543); Wed, 03 Feb 2021 17:48:01 +0000
Received: (at 543) by bugs.devuan.org; 3 Feb 2021 17:40:03 +0000
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); Wed, 03 Feb 2021 17:40:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(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 141DBF60C00
	for <543@bugs.devuan.org>; Wed,  3 Feb 2021 18:35:41 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1l7M43-0001PA-6t; Wed, 03 Feb 2021 17:35:39 +0000
Received: (nullmailer pid 23208 invoked by uid 1000);
	Wed, 03 Feb 2021 17:35:38 -0000
Date: Wed, 3 Feb 2021 17:35:37 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Samuli Airaksinen <devuan@airasa.fi>, 543@bugs.devuan.org
Message-ID: <YBre6c4T2YDAY44m@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 moreinfo, debian

Samuli,

Thanks for this.

On Wed, Feb 03, 2021 at 06:27:14PM +0200, Samuli Airaksinen wrote:
> Package: salt-minion
> Version: 2018.3.4+dfsg1-6+deb10u2
> 
> In /etc/init.d/salt-minion , the line
> 
> DAEMON_ARGS="-d"
[...]
> . In Debian Buster the salt-minion service is also launched without the -d
> argument.

Devuan uses the Debian package of salt-minion directly without recompilation, so
if this line is not present in the Buster version of the initscript, I wonder if
you might have edited the file yourself at some point?

Mark

Message received at 543@bugs.devuan.org:


Received: (at 543) by bugs.devuan.org; 3 Feb 2021 17:40: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); Wed, 03 Feb 2021 17:40:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(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 141DBF60C00
	for <543@bugs.devuan.org>; Wed,  3 Feb 2021 18:35:41 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1l7M43-0001PA-6t; Wed, 03 Feb 2021 17:35:39 +0000
Received: (nullmailer pid 23208 invoked by uid 1000);
	Wed, 03 Feb 2021 17:35:38 -0000
Date: Wed, 3 Feb 2021 17:35:37 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Samuli Airaksinen <devuan@airasa.fi>, 543@bugs.devuan.org
Subject: Re: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents
 salt-minion startup
Message-ID: <YBre6c4T2YDAY44m@hindley.org.uk>
References: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 moreinfo, debian

Samuli,

Thanks for this.

On Wed, Feb 03, 2021 at 06:27:14PM +0200, Samuli Airaksinen wrote:
> Package: salt-minion
> Version: 2018.3.4+dfsg1-6+deb10u2
> 
> In /etc/init.d/salt-minion , the line
> 
> DAEMON_ARGS="-d"
[...]
> . In Debian Buster the salt-minion service is also launched without the -d
> argument.

Devuan uses the Debian package of salt-minion directly without recompilation, so
if this line is not present in the Buster version of the initscript, I wonder if
you might have edited the file yourself at some point?

Mark

Message sent to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:


X-Loop: owner@bugs.devuan.org
Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
Reply-To: Mark Hindley <mark@hindley.org.uk>, 543@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Wed, 03 Feb 2021 18:03:02 +0000
Resent-Message-ID: <handler.543.B543.161237460312464@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: moreinfo debian
References: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi> <YBre6c4T2YDAY44m@hindley.org.uk> <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
Received: via spool by 543-submit@bugs.devuan.org id=B543.161237460312464
          (code B ref 543); Wed, 03 Feb 2021 18:03:02 +0000
Received: (at 543) by bugs.devuan.org; 3 Feb 2021 17:50:03 +0000
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); Wed, 03 Feb 2021 17:50:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(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 E7521F60C2F
	for <543@bugs.devuan.org>; Wed,  3 Feb 2021 18:44:04 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1l7MCB-0001S9-MV; Wed, 03 Feb 2021 17:44:03 +0000
Received: (nullmailer pid 23362 invoked by uid 1000);
	Wed, 03 Feb 2021 17:44:03 -0000
Date: Wed, 3 Feb 2021 17:44:03 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Samuli Airaksinen <devuan@airasa.fi>, 543@bugs.devuan.org
Message-ID: <YBrg46aSjo7j99iU@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YBre6c4T2YDAY44m@hindley.org.uk>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Wed, Feb 03, 2021 at 05:35:38PM +0000, Mark Hindley wrote:
> Devuan uses the Debian package of salt-minion directly without recompilation,
> so if this line is not present in the Buster version of the initscript, I
> wonder if you might have edited the file yourself at some point?

Actually, I should have looked first. AFAICS, it is present in the
salt-minion_2018.3.4+dfsg1-6+deb10u2_all.deb initscript at line 18.

So this is a Debian bug. Please report it (together with your patch) directly to
Debian's BTS.

Thanks

Mark

Message sent to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:


X-Loop: owner@bugs.devuan.org
Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
Reply-To: Samuli Airaksinen <devuan@airasa.fi>, 543@bugs.devuan.org
Resent-From: Samuli Airaksinen <devuan@airasa.fi>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Thu, 04 Feb 2021 05:03:02 +0000
Resent-Message-ID: <handler.543.B543.161241480216358@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: moreinfo debian
References: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi> <YBre6c4T2YDAY44m@hindley.org.uk> <YBrg46aSjo7j99iU@hindley.org.uk> <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
Received: via spool by 543-submit@bugs.devuan.org id=B543.161241480216358
          (code B ref 543); Thu, 04 Feb 2021 05:03:02 +0000
Received: (at 543) by bugs.devuan.org; 4 Feb 2021 05:00:02 +0000
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); Thu, 04 Feb 2021 05:00:02 +0000 (UTC)
Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id BF7DFF60C36
	for <543@bugs.devuan.org>; Thu,  4 Feb 2021 05:49:15 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=airasa.fi header.i=@airasa.fi header.b="N77/5vRm";
	dkim-atps=neutral
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4DWR0V1XN9zQlW2;
	Thu,  4 Feb 2021 05:49:14 +0100 (CET)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=airasa.fi; s=MBO0001;
	t=1612414152;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=4zz2iZOOh21e5Zq5ZzDYvC5jiHt1qe5N9VW8061mjv8=;
	b=N77/5vRmloUUi0giF+pf8fW8ho4ZRiLe4knAyUFvLmsLCkb8XzIZqo5TyXXgogwRL1FXe/
	FCoOc28OMgv+h633PmObBTIs4rOQV4z77AX7aFgSMYBRolKbeYOhyy9W3BPAMxVYRIMEP0
	vcuPde7ZM6R55smyT/XDoZlfWgTPPydkMKCv/EsSNfKUhf9q+FPMmScO+flE5Ze/35f3um
	9wy4Q7uyQF1YMonxNZ3oZxLK1e+0hLXlf3r0nJSo71C0bmk8LZFQqNA0nPILpQzyabasBv
	V+6LrwTWDDitJkIgK7EeaG3I+PV3U9FZ3A0B47qQ0mHEL1lrxlv7dYeZpoOa5Q==
Received: from smtp1.mailbox.org ([80.241.60.240])
	by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030)
	with ESMTP id sYf8eUKebNXY; Thu,  4 Feb 2021 05:49:11 +0100 (CET)
To: Mark Hindley <mark@hindley.org.uk>, 543@bugs.devuan.org
From: Samuli Airaksinen <devuan@airasa.fi>
Message-ID: <9b52488b-6a7b-01e8-b132-67f2e40a11bc@samuliairaksinen.fi>
Date: Thu, 4 Feb 2021 06:49:11 +0200
MIME-Version: 1.0
In-Reply-To: <YBrg46aSjo7j99iU@hindley.org.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -3.11 / 15.00 / 15.00
X-Rspamd-Queue-Id: 0FC831850
X-Rspamd-UID: 4556c1
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,
	RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On 2/3/21 7:44 PM, Mark Hindley wrote:
> Actually, I should have looked first. AFAICS, it is present in the
> salt-minion_2018.3.4+dfsg1-6+deb10u2_all.deb initscript at line 18.

Apologies, so it seems. I only looked at the systemd service files and 
didn't realize there is /etc/init.d/salt-minion in the Debian version as 
well.

Please close this bug as WONTFIX or similar. At least someone may find 
this later and get the tip they need to get salt-minion running in their 
Devuan.

Again, thanks and apologies.

-Samuli

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Samuli Airaksinen <devuan@airasa.fi>
Subject: bug#543: Info received (bug#543: DAEMON_ARGS in /etc/init.d/salt-minion
 prevents salt-minion startup)
Message-ID: <handler.543.B543.161241480216358.ackinfo@bugs.devuan.org>
References: <9b52488b-6a7b-01e8-b132-67f2e40a11bc@samuliairaksinen.fi>
X-Devuan-PR-Message: ack-info 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: moreinfo debian
Reply-To: 543@bugs.devuan.org
Date: Thu, 04 Feb 2021 05:03:05 +0000

Thank you for the additional information you have supplied regarding
this bug report.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 devuan-dev@lists.dyne.org

If you wish to submit further information on this problem, please
send it to 543@bugs.devuan.org.

Please do not send mail to owner@bugs.devuan.org unless you wish
to report a problem with the Bug-tracking system.

--=20
543: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D543
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems

Message sent to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:


X-Loop: owner@bugs.devuan.org
Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
Reply-To: Mark Hindley <mark@hindley.org.uk>, 543@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Thu, 04 Feb 2021 11:03:02 +0000
Resent-Message-ID: <handler.543.B543.161243580318755@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: moreinfo debian
References: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi> <YBre6c4T2YDAY44m@hindley.org.uk> <YBrg46aSjo7j99iU@hindley.org.uk> <9b52488b-6a7b-01e8-b132-67f2e40a11bc@samuliairaksinen.fi> <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
Received: via spool by 543-submit@bugs.devuan.org id=B543.161243580318755
          (code B ref 543); Thu, 04 Feb 2021 11:03:02 +0000
Received: (at 543) by bugs.devuan.org; 4 Feb 2021 10:50:03 +0000
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); Thu, 04 Feb 2021 10:50:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(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 A97EEF609FF
	for <543@bugs.devuan.org>; Thu,  4 Feb 2021 11:47:36 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1l7cAg-00062U-Py; Thu, 04 Feb 2021 10:47:35 +0000
Received: (nullmailer pid 652 invoked by uid 1000);
	Thu, 04 Feb 2021 10:47:33 -0000
Date: Thu, 4 Feb 2021 10:47:33 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Samuli Airaksinen <devuan@airasa.fi>
Cc: 543@bugs.devuan.org
Message-ID: <YBvQxSkqVldd3tfw@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9b52488b-6a7b-01e8-b132-67f2e40a11bc@samuliairaksinen.fi>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Thu, Feb 04, 2021 at 06:49:11AM +0200, Samuli Airaksinen wrote:
> Apologies, so it seems. I only looked at the systemd service files and
> didn't realize there is /etc/init.d/salt-minion in the Debian version as
> well.

No worries.

> Please close this bug as WONTFIX or similar. At least someone may find this
> later and get the tip they need to get salt-minion running in their Devuan.

Actually, I would rather get this fixed in Debian, if possible. Would you mind
sending your report to submit@bugs.debian.org with the patch? It might get
fixed.

Thanks

Mark

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Mark Hindley <mark@hindley.org.uk>
Subject: bug#543: Info received (bug#543: DAEMON_ARGS in /etc/init.d/salt-minion
 prevents salt-minion startup)
Message-ID: <handler.543.B543.161243580318755.ackinfo@bugs.devuan.org>
References: <YBvQxSkqVldd3tfw@hindley.org.uk>
X-Devuan-PR-Message: ack-info 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: moreinfo debian
Reply-To: 543@bugs.devuan.org
Date: Thu, 04 Feb 2021 11:03:06 +0000

Thank you for the additional information you have supplied regarding
this bug report.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 devuan-dev@lists.dyne.org

If you wish to submit further information on this problem, please
send it to 543@bugs.devuan.org.

Please do not send mail to owner@bugs.devuan.org unless you wish
to report a problem with the Bug-tracking system.

--=20
543: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D543
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems

Message sent to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:


X-Loop: owner@bugs.devuan.org
Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
Reply-To: Mark Hindley <mark@hindley.org.uk>, 543@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Fri, 03 Feb 2023 11:30:01 +0000
Resent-Message-ID: <handler.543.B543.167542377721111@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: moreinfo debian
References: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi> <YBre6c4T2YDAY44m@hindley.org.uk> <YBrg46aSjo7j99iU@hindley.org.uk> <9b52488b-6a7b-01e8-b132-67f2e40a11bc@samuliairaksinen.fi> <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi> <YBvQxSkqVldd3tfw@hindley.org.uk> <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
Received: via spool by 543-submit@bugs.devuan.org id=B543.167542377721111
          (code B ref 543); Fri, 03 Feb 2023 11:30:01 +0000
Received: (at 543) by bugs.devuan.org; 3 Feb 2023 11:29:37 +0000
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 03 Feb 2023 11:29:37 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id /JofJtbv3GOwEgAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Fri, 03 Feb 2023 11:28:22 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 92388A04; Fri,  3 Feb 2023 11:28:22 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 0B41A393
	for <543@bugs.devuan.org>; Fri,  3 Feb 2023 11:28:21 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1pNuEt-0002h8-Tq; Fri, 03 Feb 2023 11:28:20 +0000
Received: (nullmailer pid 30378 invoked by uid 1000);
	Fri, 03 Feb 2023 11:28:19 -0000
Date: Fri, 3 Feb 2023 11:28:19 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 543@bugs.devuan.org
Cc: Samuli Airaksinen <devuan@airasa.fi>
Message-ID: <Y9zv0ycWIMstI4AZ@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YBvQxSkqVldd3tfw@hindley.org.uk>

Control: forwarded -1 https://bugs.debian.org/1030345

On Thu, Feb 04, 2021 at 10:47:33AM +0000, Mark Hindley wrote:
> Actually, I would rather get this fixed in Debian, if possible. Would you mind
> sending your report to submit@bugs.debian.org with the patch? It might get
> fixed.

I have forwarded this to Debian's BTS.

Mark

Message received at 543@bugs.devuan.org:


Received: (at 543) by bugs.devuan.org; 3 Feb 2023 11:29:37 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 03 Feb 2023 11:29:37 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id /JofJtbv3GOwEgAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Fri, 03 Feb 2023 11:28:22 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 92388A04; Fri,  3 Feb 2023 11:28:22 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 0B41A393
	for <543@bugs.devuan.org>; Fri,  3 Feb 2023 11:28:21 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1pNuEt-0002h8-Tq; Fri, 03 Feb 2023 11:28:20 +0000
Received: (nullmailer pid 30378 invoked by uid 1000);
	Fri, 03 Feb 2023 11:28:19 -0000
Date: Fri, 3 Feb 2023 11:28:19 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 543@bugs.devuan.org
Cc: Samuli Airaksinen <devuan@airasa.fi>
Subject: Re: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents
 salt-minion startup
Message-ID: <Y9zv0ycWIMstI4AZ@hindley.org.uk>
References: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
 <YBre6c4T2YDAY44m@hindley.org.uk>
 <YBrg46aSjo7j99iU@hindley.org.uk>
 <9b52488b-6a7b-01e8-b132-67f2e40a11bc@samuliairaksinen.fi>
 <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
 <YBvQxSkqVldd3tfw@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YBvQxSkqVldd3tfw@hindley.org.uk>
X-Debbugs-No-Ack: No Thanks

Control: forwarded -1 https://bugs.debian.org/1030345

On Thu, Feb 04, 2021 at 10:47:33AM +0000, Mark Hindley wrote:
> Actually, I would rather get this fixed in Debian, if possible. Would you mind
> sending your report to submit@bugs.debian.org with the patch? It might get
> fixed.

I have forwarded this to Debian's BTS.

Mark

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Mark Hindley <mark@hindley.org.uk>
Subject: bug#543: marked as done (DAEMON_ARGS in /etc/init.d/salt-minion
 prevents salt-minion startup)
Message-ID: <handler.543.D543.171397503330526.ackdone@bugs.devuan.org>
References: <Zikuv7Mt8TbPSZaM@hindley.org.uk>
 <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
X-Devuan-PR-Message: closed 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: moreinfo debian
Reply-To: 543@bugs.devuan.org
Date: Wed, 24 Apr 2024 16:12:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1713975121-30553-0"

This is a multi-part message in MIME format...

------------=_1713975121-30553-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 24 Apr 2024 17:09:35 +0100
with message-id <Zikuv7Mt8TbPSZaM@hindley.org.uk>
and subject line Closed in Debian #1030345
has caused the Devuan bug report #543,
regarding DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion start=
up
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


--=20
543: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D543
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems

------------=_1713975121-30553-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 3 Feb 2021 16:30:02 +0000
Return-Path: <devuan@airasa.fi>
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); Wed, 03 Feb 2021 16:30:02 +0000 (UTC)
Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 3B64CF60B76
	for <submit@bugs.devuan.org>; Wed,  3 Feb 2021 17:27:20 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=airasa.fi header.i=@airasa.fi header.b="tAyWy7lc";
	dkim-atps=neutral
Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4DW6XQ1n27zQlYP
	for <submit@bugs.devuan.org>; Wed,  3 Feb 2021 17:27:18 +0100 (CET)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=airasa.fi; s=MBO0001;
	t=1612369636;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=fMy4qyFvuAXfvQrpfFrHdExobck/nROauKkicPniSGM=;
	b=tAyWy7lcn/XVyImb2d29n8Qje3I4DKSp1C9fU0JvqK+YYsbE3dUMA4gYEF52X2SxjBFCQS
	beQc6cDQZ+sDPIF8O3q2cOG143Iop5WjOwz1QxYFO20ZIYCda+FR6FpyFEg8FlhY/G8jQL
	AWI0R2sDm60yXbA1lHdr9OCkCJzvPInAXWP0H6qqFf4WqwwwtW8KsbAAddVm293Yxz9SC5
	CCydsLTyv6i4riyGGLl0Km4Hrq3A5yGtZM5pvCw3f5D4KUtwOukyrR3gf/4ZueOSW7ccLx
	euZbBlVBBhVA2FmLTh3qIF9Xj5KLLiOwNnYqOE/7S2oqij0/Yuv63bjY3lSMBg==
Received: from smtp2.mailbox.org ([80.241.60.241])
	by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030)
	with ESMTP id vueX8_MsyI61 for <submit@bugs.devuan.org>;
	Wed,  3 Feb 2021 17:27:14 +0100 (CET)
From: Samuli Airaksinen <devuan@airasa.fi>
Subject: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
To: submit@bugs.devuan.org
Message-ID: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
Date: Wed, 3 Feb 2021 18:27:14 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -4.51 / 15.00 / 15.00
X-Rspamd-Queue-Id: 06EF517D9
X-Rspamd-UID: 658ab2
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,
	RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: salt-minion
Version: 2018.3.4+dfsg1-6+deb10u2

In /etc/init.d/salt-minion , the line

DAEMON_ARGS="-d"

causes the minion to freeze upon startup. The -d switch, which runs the 
minion in the background, is ok when /usr/bin/salt-minion is ran 
interactively, but causes the minion to freeze when launched via service.

The switch is also warned against at 
https://ansible-cn.readthedocs.io/en/latest/topics/troubleshooting/minion.html 
. In Debian Buster the salt-minion service is also launched without the 
-d argument.

There is no error message. The last log message in log_levels "trace" 
and "garbage" is: "Getting lsb_release distro information", after which 
the minion remains unresponsive.

Emptying the DAEMON_ARGS fixes the problem and enables salt-minion to 
start properly.


Proposed patch:

@@ -15,7 +15,7 @@
  DESC="salt minion control daemon"
  NAME=salt-minion
  DAEMON=/usr/bin/salt-minion
-DAEMON_ARGS="-d"
+DAEMON_ARGS=""
  PIDFILE=/var/run/$NAME.pid
  SCRIPTNAME=/etc/init.d/$NAME

------------=_1713975121-30553-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 543-done) by bugs.devuan.org; 24 Apr 2024 16:10:33 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 24 Apr 2024 16:10:33 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id iUfeG8MuKWbxcQAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Wed, 24 Apr 2024 16:09:39 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 409C6408; Wed, 24 Apr 2024 16:09:39 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id A23B421D
	for <543-done@bugs.devuan.org>; Wed, 24 Apr 2024 16:09:37 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 0A3329C
	for <543-done@bugs.devuan.org>; Wed, 24 Apr 2024 17:09:36 +0100 (BST)
Received: (nullmailer pid 27412 invoked by uid 1000);
	Wed, 24 Apr 2024 16:09:35 -0000
Date: Wed, 24 Apr 2024 17:09:35 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: 543-done@bugs.devuan.org
Subject: Closed in Debian #1030345
Message-ID: <Zikuv7Mt8TbPSZaM@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks

Package removed from Debian.

Closing.

Mark
------------=_1713975121-30553-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Samuli Airaksinen <devuan@airasa.fi>
Subject: bug#543 closed by Mark Hindley <mark@hindley.org.uk> (Closed in
 Debian #1030345)
Message-ID: <handler.543.D543.171397503330526.notifdone@bugs.devuan.org>
References: <Zikuv7Mt8TbPSZaM@hindley.org.uk>
 <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
X-Devuan-PR-Message: they-closed 543
X-Devuan-PR-Package: salt-minion
X-Devuan-PR-Keywords: moreinfo debian
Reply-To: 543@bugs.devuan.org
Date: Wed, 24 Apr 2024 16:12:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1713975122-30553-1"

This is a multi-part message in MIME format...

------------=_1713975122-30553-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is an automatic notification regarding your bug report
which was filed against the salt-minion package:

#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup

It has been closed by Mark Hindley <mark@hindley.org.uk>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <mark@hin=
dley.org.uk> by
replying to this email.


--=20
543: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D543
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems

------------=_1713975122-30553-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 543-done) by bugs.devuan.org; 24 Apr 2024 16:10:33 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 24 Apr 2024 16:10:33 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id iUfeG8MuKWbxcQAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Wed, 24 Apr 2024 16:09:39 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 409C6408; Wed, 24 Apr 2024 16:09:39 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id A23B421D
	for <543-done@bugs.devuan.org>; Wed, 24 Apr 2024 16:09:37 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 0A3329C
	for <543-done@bugs.devuan.org>; Wed, 24 Apr 2024 17:09:36 +0100 (BST)
Received: (nullmailer pid 27412 invoked by uid 1000);
	Wed, 24 Apr 2024 16:09:35 -0000
Date: Wed, 24 Apr 2024 17:09:35 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: 543-done@bugs.devuan.org
Subject: Closed in Debian #1030345
Message-ID: <Zikuv7Mt8TbPSZaM@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks

Package removed from Debian.

Closing.

Mark
------------=_1713975122-30553-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 3 Feb 2021 16:30:02 +0000
Return-Path: <devuan@airasa.fi>
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); Wed, 03 Feb 2021 16:30:02 +0000 (UTC)
Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 3B64CF60B76
	for <submit@bugs.devuan.org>; Wed,  3 Feb 2021 17:27:20 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=airasa.fi header.i=@airasa.fi header.b="tAyWy7lc";
	dkim-atps=neutral
Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4DW6XQ1n27zQlYP
	for <submit@bugs.devuan.org>; Wed,  3 Feb 2021 17:27:18 +0100 (CET)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=airasa.fi; s=MBO0001;
	t=1612369636;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=fMy4qyFvuAXfvQrpfFrHdExobck/nROauKkicPniSGM=;
	b=tAyWy7lcn/XVyImb2d29n8Qje3I4DKSp1C9fU0JvqK+YYsbE3dUMA4gYEF52X2SxjBFCQS
	beQc6cDQZ+sDPIF8O3q2cOG143Iop5WjOwz1QxYFO20ZIYCda+FR6FpyFEg8FlhY/G8jQL
	AWI0R2sDm60yXbA1lHdr9OCkCJzvPInAXWP0H6qqFf4WqwwwtW8KsbAAddVm293Yxz9SC5
	CCydsLTyv6i4riyGGLl0Km4Hrq3A5yGtZM5pvCw3f5D4KUtwOukyrR3gf/4ZueOSW7ccLx
	euZbBlVBBhVA2FmLTh3qIF9Xj5KLLiOwNnYqOE/7S2oqij0/Yuv63bjY3lSMBg==
Received: from smtp2.mailbox.org ([80.241.60.241])
	by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030)
	with ESMTP id vueX8_MsyI61 for <submit@bugs.devuan.org>;
	Wed,  3 Feb 2021 17:27:14 +0100 (CET)
From: Samuli Airaksinen <devuan@airasa.fi>
Subject: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
To: submit@bugs.devuan.org
Message-ID: <835a127b-e5ed-9914-780f-92057214c325@samuliairaksinen.fi>
Date: Wed, 3 Feb 2021 18:27:14 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -4.51 / 15.00 / 15.00
X-Rspamd-Queue-Id: 06EF517D9
X-Rspamd-UID: 658ab2
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,
	RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: salt-minion
Version: 2018.3.4+dfsg1-6+deb10u2

In /etc/init.d/salt-minion , the line

DAEMON_ARGS="-d"

causes the minion to freeze upon startup. The -d switch, which runs the 
minion in the background, is ok when /usr/bin/salt-minion is ran 
interactively, but causes the minion to freeze when launched via service.

The switch is also warned against at 
https://ansible-cn.readthedocs.io/en/latest/topics/troubleshooting/minion.html 
. In Debian Buster the salt-minion service is also launched without the 
-d argument.

There is no error message. The last log message in log_levels "trace" 
and "garbage" is: "Getting lsb_release distro information", after which 
the minion remains unresponsive.

Emptying the DAEMON_ARGS fixes the problem and enables salt-minion to 
start properly.


Proposed patch:

@@ -15,7 +15,7 @@
  DESC="salt minion control daemon"
  NAME=salt-minion
  DAEMON=/usr/bin/salt-minion
-DAEMON_ARGS="-d"
+DAEMON_ARGS=""
  PIDFILE=/var/run/$NAME.pid
  SCRIPTNAME=/etc/init.d/$NAME

------------=_1713975122-30553-1--

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: Wed, 9 Apr 2025 14:39:01 UTC