:: [devuan-dev] bug#543: marked as don…
Pàgina inicial
Delete this message
Reply to this message
Autor: Devuan bug Tracking System
Data:  
A: Mark Hindley
Assumpte: [devuan-dev] bug#543: marked as done (DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup)
Your message dated Wed, 24 Apr 2024 17:09:35 +0100
with message-id <Zikuv7Mt8TbPSZaM@???>
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@???
immediately.)


--
543: https://bugs.devuan.org/cgi/bugreport.cgi?bug=543
Devuan Bug Tracking System
Contact owner@??? with problems
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
Package removed from Debian.

Closing.

Mark