X-Loop: [email protected] Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup Reply-To: Samuli Airaksinen <[email protected]>, [email protected] Resent-From: Samuli Airaksinen <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Wed, 03 Feb 2021 16:33:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: report 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>; 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 [email protected] 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 <[email protected]>; 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 <[email protected]>; Wed, 3 Feb 2021 17:27:14 +0100 (CET) From: Samuli Airaksinen <[email protected]> To: [email protected] Message-ID: <[email protected]> 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
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: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Samuli Airaksinen <[email protected]> Subject: bug#543: Acknowledgement (DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack 543 X-Devuan-PR-Package: salt-minion Reply-To: [email protected] 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): [email protected] If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] 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 [email protected] with problems
X-Loop: [email protected] Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Wed, 03 Feb 2021 17:48:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>; 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 <[email protected]>) 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 <[email protected]> To: Samuli Airaksinen <[email protected]>, [email protected] Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> 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
Received: (at 543) by bugs.devuan.org; 3 Feb 2021 17:40:03 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] 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 <[email protected]>; 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 <[email protected]>) 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 <[email protected]> To: Samuli Airaksinen <[email protected]>, [email protected] Subject: Re: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup Message-ID: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> 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
X-Loop: [email protected] Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Wed, 03 Feb 2021 18:03:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: moreinfo debian References: <[email protected]> <[email protected]> <[email protected]> Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>; 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 <[email protected]>) 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 <[email protected]> To: Samuli Airaksinen <[email protected]>, [email protected] Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> 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
X-Loop: [email protected] Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup Reply-To: Samuli Airaksinen <[email protected]>, [email protected] Resent-From: Samuli Airaksinen <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Thu, 04 Feb 2021 05:03:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: moreinfo debian References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>; 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 [email protected] 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 <[email protected]>, [email protected] From: Samuli Airaksinen <[email protected]> Message-ID: <[email protected]> Date: Thu, 4 Feb 2021 06:49:11 +0200 MIME-Version: 1.0 In-Reply-To: <[email protected]> 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
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: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Samuli Airaksinen <[email protected]> Subject: bug#543: Info received (bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack-info 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: moreinfo debian Reply-To: [email protected] 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): [email protected] If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] 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 [email protected] with problems
X-Loop: [email protected] Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Thu, 04 Feb 2021 11:03:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: moreinfo debian References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>; 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 <[email protected]>) 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 <[email protected]> To: Samuli Airaksinen <[email protected]> Cc: [email protected] Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> 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 [email protected] with the patch? It might get fixed. Thanks Mark
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: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Mark Hindley <[email protected]> Subject: bug#543: Info received (bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack-info 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: moreinfo debian Reply-To: [email protected] 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): [email protected] If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] 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 [email protected] with problems
X-Loop: [email protected] Subject: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Fri, 03 Feb 2023 11:30:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: moreinfo debian References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>) for <[email protected]>; 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; [email protected]; 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 <[email protected]>; 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 <[email protected]>) 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 <[email protected]> To: [email protected] Cc: Samuli Airaksinen <[email protected]> Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> 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 [email protected] with the patch? It might get > fixed. I have forwarded this to Debian's BTS. Mark
Received: (at 543) by bugs.devuan.org; 3 Feb 2023 11:29:37 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] 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 <[email protected]>) for <[email protected]>; 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; [email protected]; 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 <[email protected]>; 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 <[email protected]>) 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 <[email protected]> To: [email protected] Cc: Samuli Airaksinen <[email protected]> Subject: Re: bug#543: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> 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 [email protected] with the patch? It might get > fixed. I have forwarded this to Debian's BTS. Mark
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Mark Hindley <[email protected]> Subject: bug#543: marked as done (DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup) Message-ID: <[email protected]> References: <[email protected]> <[email protected]> X-Devuan-PR-Message: closed 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: moreinfo debian Reply-To: [email protected] 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 <[email protected]> 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 [email protected] immediately.) --=20 543: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D543 Devuan Bug Tracking System Contact [email protected] 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: <[email protected]> Delivered-To: [email protected] 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 <[email protected]>; 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 [email protected] 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 <[email protected]>; 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 <[email protected]>; Wed, 3 Feb 2021 17:27:14 +0100 (CET) From: Samuli Airaksinen <[email protected]> Subject: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup To: [email protected] Message-ID: <[email protected]> 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: <[email protected]> Delivered-To: [email protected] 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 <[email protected]>) for <[email protected]>; 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; [email protected]; 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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]> To: [email protected] Subject: Closed in Debian #1030345 Message-ID: <[email protected]> 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--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Samuli Airaksinen <[email protected]> Subject: bug#543 closed by Mark Hindley <[email protected]> (Closed in Debian #1030345) Message-ID: <[email protected]> References: <[email protected]> <[email protected]> X-Devuan-PR-Message: they-closed 543 X-Devuan-PR-Package: salt-minion X-Devuan-PR-Keywords: moreinfo debian Reply-To: [email protected] 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 <[email protected]>. 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 [email protected] 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: <[email protected]> Delivered-To: [email protected] 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 <[email protected]>) for <[email protected]>; 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; [email protected]; 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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]> To: [email protected] Subject: Closed in Debian #1030345 Message-ID: <[email protected]> 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: <[email protected]> Delivered-To: [email protected] 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 <[email protected]>; 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 [email protected] 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 <[email protected]>; 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 <[email protected]>; Wed, 3 Feb 2021 17:27:14 +0100 (CET) From: Samuli Airaksinen <[email protected]> Subject: DAEMON_ARGS in /etc/init.d/salt-minion prevents salt-minion startup To: [email protected] Message-ID: <[email protected]> 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 <[email protected]>.
Last modified:
Tue, 3 Dec 2024 00:39:01 UTC