Devuan bug report logs - #543
DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup

version graph

Package: salt-minion; Maintainer for salt-minion is (unknown); Source for salt-minion is src:salt.

Reported by: Samuli Airaksinen <devuan@airasa.fi>

Date: Wed, 3 Feb 2021 16:33:01 UTC

Severity: normal

Tags: debian, moreinfo

Found in version 2018.3.4+dfsg1-6+deb10u2

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/1030345

Full log


🔗 View this message in rfc822 format

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"
[Message part 1 (text/plain, inline)]
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 startup
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.)


-- 
543: https://bugs.devuan.org/cgi/bugreport.cgi?bug=543
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Samuli Airaksinen <devuan@airasa.fi>
To: submit@bugs.devuan.org
Subject: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
Date: Wed, 3 Feb 2021 18:27:14 +0200
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 part 3 (message/rfc822, inline)]
From: Mark Hindley <mark@hindley.org.uk>
To: 543-done@bugs.devuan.org
Subject: Closed in Debian #1030345
Date: Wed, 24 Apr 2024 17:09:35 +0100
Package removed from Debian.

Closing.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Sep 16 10:09:35 2024;