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: 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"
[Message part 1 (text/plain, inline)]
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@hindley.org.uk> by
replying to this email.


-- 
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: 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
[Message part 3 (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

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: Sun Nov 24 17:26:29 2024;