Devuan bug report logs -
#543
DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#543
; Package salt-minion
.
(Wed, 03 Feb 2021 16:33:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Samuli Airaksinen <devuan@airasa.fi>
:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org
.
(Wed, 03 Feb 2021 16:33:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):
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
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#543
; Package salt-minion
.
(Wed, 03 Feb 2021 17:48:01 GMT) (full text, mbox, link).
Message #8 received at 543@bugs.devuan.org (full text, mbox, reply):
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
Added tag(s) moreinfo and debian.
Request was from Mark Hindley <mark@hindley.org.uk>
to 543-submit@bugs.devuan.org
.
(Wed, 03 Feb 2021 17:48:04 GMT) (full text, mbox, link).
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#543
; Package salt-minion
.
(Wed, 03 Feb 2021 18:03:02 GMT) (full text, mbox, link).
Message #13 received at 543@bugs.devuan.org (full text, mbox, reply):
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
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#543
; Package salt-minion
.
(Thu, 04 Feb 2021 05:03:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Samuli Airaksinen <devuan@airasa.fi>
:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org
.
(Thu, 04 Feb 2021 05:03:05 GMT) (full text, mbox, link).
Message #18 received at 543@bugs.devuan.org (full text, mbox, reply):
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
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#543
; Package salt-minion
.
(Thu, 04 Feb 2021 11:03:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Mark Hindley <mark@hindley.org.uk>
:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org
.
(Thu, 04 Feb 2021 11:03:06 GMT) (full text, mbox, link).
Message #23 received at 543@bugs.devuan.org (full text, mbox, reply):
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
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#543
; Package salt-minion
.
(Fri, 03 Feb 2023 11:30:01 GMT) (full text, mbox, link).
Message #26 received at 543@bugs.devuan.org (full text, mbox, reply):
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
Reply sent
to Mark Hindley <mark@hindley.org.uk>
:
You have taken responsibility.
(Wed, 24 Apr 2024 16:12:01 GMT) (full text, mbox, link).
Notification sent
to Samuli Airaksinen <devuan@airasa.fi>
:
bug acknowledged by developer.
(Wed, 24 Apr 2024 16:12:02 GMT) (full text, mbox, link).
Message #33 received at 543-done@bugs.devuan.org (full text, mbox, reply):
Package removed from Debian.
Closing.
Mark
Send a report that this bug log contains spam.