Devuan logs - #831, boring messages


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#831: mosquitto: Startup script fails
Reply-To: Koos van den Hout <[email protected]>, [email protected]
Resent-From: Koos van den Hout <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Sun, 28 Jan 2024 17:36:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 831
X-Devuan-PR-Package: mosquitto
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] id=B.170646327828109
          (code B); Sun, 28 Jan 2024 17:36:01 +0000
Received: (at submit) by bugs.devuan.org; 28 Jan 2024 17:34:38 +0000
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); Sun, 28 Jan 2024 17:34:38 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id 2e1zJiyQtmWAawAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:34:36 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 8270159D; Sun, 28 Jan 2024 17:34:36 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; secure) header.d=idefix.net [email protected] header.a=rsa-sha256 header.s=gosper header.b=vXxNSOne;
	dkim-atps=neutral
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a10:3781:1669:1::23; helo=gosper.idefix.net; [email protected]; receiver=<UNKNOWN> 
Received: from gosper.idefix.net (gosper.idefix.net [IPv6:2a10:3781:1669:1::23])
	by email.devuan.org (Postfix) with ESMTPS id BB7C6498
	for <[email protected]>; Sun, 28 Jan 2024 17:34:30 +0000 (UTC)
Received: from testerisk.idefix.net (testerisk.idefix.net [IPv6:2a10:3781:1669:1:5054:ff:fec1:31b3])
	by gosper.idefix.net (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTPS id 40SHYOuD019688
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
	Sun, 28 Jan 2024 18:34:25 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=simple/relaxed; d=idefix.net; s=gosper;
	t=1706463265; bh=gPCTQF59KBc3ES9RqzkUBEwj76rrrZWQ9o1gddmnbTE=;
	h=From:To:Subject:Date:From;
	b=vXxNSOner5hi7ZqmjRLp/JTyg6Mn+bSNWQescYuNytvgnW92fPaYnZw3AHQBHbhh7
	 PKvkJTPb84GaQ1ywba71dOml3XNfe7RSrNsg1kU+3meSsJ3YiUgf8d+A7SpUyMCuGr
	 O4PFA769bEk6NDNc2P0EIayjZpzi+3z2pFA4uwbWUHaZt9DB0cn+tyu2MwotZuN+3w
	 LzHfuigQTzVQxHnLO6WNmSBBKwyhgaawY7QmCfCdxR2SVxAMsFScqBCP1K+uo6Oyxb
	 qarApWqpCb5D9N9zGam/puf6AG9e6N6Lbs4N6yyJYGPCGIhRX3H6AgrdLc6A/NTY+4
	 /dhbK3DeGnwOw==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Koos van den Hout <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Message-ID: <170646326412.1882.1828390435371304208.reportbug@testerisk.idefix.net>
X-Mailer: reportbug 7.10.3+devuan1
Date: Sun, 28 Jan 2024 18:34:24 +0100
X-Virus-Scanned: clamav-milter 0.103.9 at gosper
X-Virus-Status: Clean

Package: mosquitto
Version: 2.0.11-1+deb11u1
Severity: normal
Tags: newcomer

Dear Maintainer,

I installed mosquitto mqtt server under Devuan chimera and it failed to
start. Searching for a solution found that this is known in the mosquitto
package

https://github.com/eclipse/mosquitto/issues/2659

This fix just hasn't been implemented in the Devuan Chimera mosquitto
package. Fixing the startup script by hand does fix the problem.

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera)
Release:	4
Codename:	chimaera
Architecture: x86_64

Kernel: Linux 5.10.0-26-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages mosquitto depends on:
ii  adduser                    3.118+deb11u1
ii  libc6                      2.31-13+deb11u7
ii  libcjson1                  1.7.14-1
ii  libdlt2                    2.18.6-1+deb11u1
ii  libelogind0 [libsystemd0]  246.10-2
ii  libmosquitto1              2.0.11-1+deb11u1
ii  libssl1.1                  1.1.1w-0+deb11u1
ii  libwebsockets16            4.0.20-2
ii  libwrap0                   7.6.q-31
ii  lsb-base                   11.1.0

mosquitto recommends no packages.

Versions of packages mosquitto suggests:
ii  apparmor  2.13.6-10

-- Configuration Files:
/etc/init.d/mosquitto changed:
set -e
PIDDIR=/run/mosquitto
PIDFILE="${PIDDIR}/mosquitto.pid"
DAEMON=/usr/sbin/mosquitto
test -x ${DAEMON} || exit 0
umask 022
. /lib/lsb/init-functions
run_by_init() {
    ([ "$previous" ] && [ "$runlevel" ]) || [ "$runlevel" = S ]
}
export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
create_pid_dir() {
    mkdir -p "$PIDDIR"
    chown mosquitto: "$PIDDIR"
}
case "$1" in
  start)
	if init_is_upstart; then
	    exit 1
	fi
	create_pid_dir
	log_daemon_msg "Starting network daemon:" "mosquitto"
	if start-stop-daemon -u mosquitto -c mosquitto --start --quiet --oknodo --background --pidfile ${PIDFILE} --exec ${DAEMON} -- -c /etc/mosquitto/mosquitto.conf ; then
	    log_end_msg 0
	else
	    log_end_msg 1
	fi
	;;
  stop)
	if init_is_upstart; then
	    exit 0
	fi
	log_daemon_msg "Stopping network daemon:" "mosquitto"
	if start-stop-daemon --stop --quiet --oknodo --pidfile ${PIDFILE}; then
	    log_end_msg 0
	    rm -f ${PIDFILE}
	else
	    log_end_msg 1
	fi
	;;
  reload|force-reload)
	if init_is_upstart; then
	    exit 1
	fi
	log_daemon_msg "Reloading network daemon configuration:" "mosquitto"
        if start-stop-daemon -u mosquitto --stop --signal HUP --quiet --oknodo --pidfile $PIDFILE; then
            log_end_msg 0
        else
            log_end_msg 1
        fi	
	;;
  restart)
	if init_is_upstart; then
	    exit 1
	fi
	log_daemon_msg "Restarting network daemon:" "mosquitto"
	if start-stop-daemon -u mosquitto --stop --quiet --oknodo --retry 30 --pidfile ${PIDFILE}; then
	    rm -f ${PIDFILE}
	fi
	create_pid_dir
	if start-stop-daemon -c mosquitto -u mosquitto --start --quiet --oknodo --background --pidfile ${PIDFILE} --exec ${DAEMON} -- -c /etc/mosquitto/mosquitto.conf ; then
	    log_end_msg 0
	else
	    log_end_msg 1
	fi
	;;
  try-restart)
	if init_is_upstart; then
	    exit 1
	fi
	log_daemon_msg "Restarting Mosquitto message broker" "mosquitto"
	set +e
	start-stop-daemon -u mosquitto --stop --quiet --retry 30 --pidfile ${PIDFILE}
	RET="$?"
	set -e
	case $RET in
	    0)
		# old daemon stopped
		rm -f ${PIDFILE}
		if start-stop-daemon -c mosquitto -u mosquitto --start --quiet --oknodo --background --pidfile ${PIDFILE} --exec ${DAEMON} -- -c /etc/mosquitto/mosquitto.conf ; then
		    log_end_msg 0
		else
		    log_end_msg 1
		fi
		;;
	    1)
		# daemon not running
		log_progress_msg "(not running)"
		log_end_msg 0
		;;
	    *)
		# failed to stop
		log_progress_msg "(failed to stop)"
		log_end_msg 1
		;;
	esac
	;;
  status)
	if init_is_upstart; then
	    exit 1
	fi
	status_of_proc -p ${PIDFILE} ${DAEMON} mosquitto && exit 0 || exit $?
	;;
  *)
	log_action_msg "Usage: /etc/init.d/mosquitto {start|stop|reload|force-reload|restart|try-restart|status}"
	exit 1
esac
exit 0


-- no debconf information

Message sent:


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: Koos van den Hout <[email protected]>
Subject: bug#831: Acknowledgement (mosquitto: Startup script fails)
Message-ID: <[email protected]>
References: <170646326412.1882.1828390435371304208.reportbug@testerisk.idefix.net>
X-Devuan-PR-Message: ack 831
X-Devuan-PR-Package: mosquitto
Reply-To: [email protected]
Date: Sun, 28 Jan 2024 17:36:02 +0000

Thank you for filing a new bug report with Devuan.

You can follow progress on this bug here: 831: https://bugs.devuan.org/cgi/=
bugreport.cgi?bug=3D831.

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
831: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D831
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#831: mosquitto: Startup script fails
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: Sun, 28 Jan 2024 17:44:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 831
X-Devuan-PR-Package: mosquitto
X-Devuan-PR-Keywords: 
References: <170646326412.1882.1828390435371304208.reportbug@testerisk.idefix.net> <170646326412.1882.1828390435371304208.reportbug@testerisk.idefix.net>
Received: via spool by [email protected] id=B831.170646382028297
          (code B ref 831); Sun, 28 Jan 2024 17:44:01 +0000
Received: (at 831) by bugs.devuan.org; 28 Jan 2024 17:43:40 +0000
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); Sun, 28 Jan 2024 17:43:40 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id tf+0EUKStmVvbAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:43:30 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 1755259D; Sun, 28 Jan 2024 17:43:29 +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 BDCB8498
	for <[email protected]>; Sun, 28 Jan 2024 17:43:24 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 933729B;
	Sun, 28 Jan 2024 17:43:22 +0000 (GMT)
Received: (nullmailer pid 28245 invoked by uid 1000);
	Sun, 28 Jan 2024 17:43:22 -0000
Date: Sun, 28 Jan 2024 17:43:22 +0000
From: Mark Hindley <[email protected]>
To: Koos van den Hout <[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: <170646326412.1882.1828390435371304208.reportbug@testerisk.idefix.net>

Control: force-merge 628 -1

Hi,

This is fixed in version 2.0.17-1. See #628.

Force merging.

Mark

Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 28 Jan 2024 17:46:41 +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); Sun, 28 Jan 2024 17:46:41 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id geTbBOOStmWMbAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:46:11 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DDCA759D; Sun, 28 Jan 2024 17:46:10 +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 38FB6498
	for <[email protected]>; Sun, 28 Jan 2024 17:46:10 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 7B7539B
	for <[email protected]>; Sun, 28 Jan 2024 17:46:09 +0000 (GMT)
Received: (nullmailer pid 29003 invoked by uid 1000);
	Sun, 28 Jan 2024 17:46:09 -0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: forcibly merging 628 831
Date: Sun, 28 Jan 2024 17:46:09 +0000
User-Agent: devscripts bts/2.23.4+deb12u1
Message-ID: <[email protected]>

forcemerge 628 831
thanks


Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 28 Jan 2024 17:46:41 +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); Sun, 28 Jan 2024 17:46:41 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id geTbBOOStmWMbAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:46:11 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DDCA759D; Sun, 28 Jan 2024 17:46:10 +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 38FB6498
	for <[email protected]>; Sun, 28 Jan 2024 17:46:10 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 7B7539B
	for <[email protected]>; Sun, 28 Jan 2024 17:46:09 +0000 (GMT)
Received: (nullmailer pid 29003 invoked by uid 1000);
	Sun, 28 Jan 2024 17:46:09 -0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: forcibly merging 628 831
Date: Sun, 28 Jan 2024 17:46:09 +0000
User-Agent: devscripts bts/2.23.4+deb12u1
Message-ID: <[email protected]>

forcemerge 628 831
thanks


Message sent to Koos van den Hout <[email protected]>:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: [email protected] (Devuan Bug Tracking System)
Subject: Bug#831 closed by Mark Hindley <[email protected]> (forcibly
 merging 628 831)
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: they-closed 831
X-Devuan-PR-Package: mosquitto
X-Devuan-PR-Source: mosquitto
Date: Sun, 28 Jan 2024 17:48:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1706464082-28477-0"

This is a multi-part message in MIME format...

------------=_1706464082-28477-0
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 mosquitto package:

#831: mosquitto: Startup script fails

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
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1706464082-28477-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.devuan.org; 28 Jan 2024 17:46:41 +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); Sun, 28 Jan 2024 17:46:41 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id geTbBOOStmWMbAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:46:11 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DDCA759D; Sun, 28 Jan 2024 17:46:10 +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 38FB6498
	for <[email protected]>; Sun, 28 Jan 2024 17:46:10 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 7B7539B
	for <[email protected]>; Sun, 28 Jan 2024 17:46:09 +0000 (GMT)
Received: (nullmailer pid 29003 invoked by uid 1000);
	Sun, 28 Jan 2024 17:46:09 -0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: forcibly merging 628 831
Date: Sun, 28 Jan 2024 17:46:09 +0000
User-Agent: devscripts bts/2.23.4+deb12u1
Message-ID: <[email protected]>

forcemerge 628 831
thanks


------------=_1706464082-28477-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 28 Jan 2024 17:34:38 +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); Sun, 28 Jan 2024 17:34:38 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id 2e1zJiyQtmWAawAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:34:36 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 8270159D; Sun, 28 Jan 2024 17:34:36 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; secure) header.d=idefix.net [email protected] header.a=rsa-sha256 header.s=gosper header.b=vXxNSOne;
	dkim-atps=neutral
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a10:3781:1669:1::23; helo=gosper.idefix.net; [email protected]; receiver=<UNKNOWN> 
Received: from gosper.idefix.net (gosper.idefix.net [IPv6:2a10:3781:1669:1::23])
	by email.devuan.org (Postfix) with ESMTPS id BB7C6498
	for <[email protected]>; Sun, 28 Jan 2024 17:34:30 +0000 (UTC)
Received: from testerisk.idefix.net (testerisk.idefix.net [IPv6:2a10:3781:1669:1:5054:ff:fec1:31b3])
	by gosper.idefix.net (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTPS id 40SHYOuD019688
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
	Sun, 28 Jan 2024 18:34:25 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=simple/relaxed; d=idefix.net; s=gosper;
	t=1706463265; bh=gPCTQF59KBc3ES9RqzkUBEwj76rrrZWQ9o1gddmnbTE=;
	h=From:To:Subject:Date:From;
	b=vXxNSOner5hi7ZqmjRLp/JTyg6Mn+bSNWQescYuNytvgnW92fPaYnZw3AHQBHbhh7
	 PKvkJTPb84GaQ1ywba71dOml3XNfe7RSrNsg1kU+3meSsJ3YiUgf8d+A7SpUyMCuGr
	 O4PFA769bEk6NDNc2P0EIayjZpzi+3z2pFA4uwbWUHaZt9DB0cn+tyu2MwotZuN+3w
	 LzHfuigQTzVQxHnLO6WNmSBBKwyhgaawY7QmCfCdxR2SVxAMsFScqBCP1K+uo6Oyxb
	 qarApWqpCb5D9N9zGam/puf6AG9e6N6Lbs4N6yyJYGPCGIhRX3H6AgrdLc6A/NTY+4
	 /dhbK3DeGnwOw==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Koos van den Hout <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: mosquitto: Startup script fails
Message-ID: <170646326412.1882.1828390435371304208.reportbug@testerisk.idefix.net>
X-Mailer: reportbug 7.10.3+devuan1
Date: Sun, 28 Jan 2024 18:34:24 +0100
X-Virus-Scanned: clamav-milter 0.103.9 at gosper
X-Virus-Status: Clean

Package: mosquitto
Version: 2.0.11-1+deb11u1
Severity: normal
Tags: newcomer

Dear Maintainer,

I installed mosquitto mqtt server under Devuan chimera and it failed to
start. Searching for a solution found that this is known in the mosquitto
package

https://github.com/eclipse/mosquitto/issues/2659

This fix just hasn't been implemented in the Devuan Chimera mosquitto
package. Fixing the startup script by hand does fix the problem.

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera)
Release:	4
Codename:	chimaera
Architecture: x86_64

Kernel: Linux 5.10.0-26-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages mosquitto depends on:
ii  adduser                    3.118+deb11u1
ii  libc6                      2.31-13+deb11u7
ii  libcjson1                  1.7.14-1
ii  libdlt2                    2.18.6-1+deb11u1
ii  libelogind0 [libsystemd0]  246.10-2
ii  libmosquitto1              2.0.11-1+deb11u1
ii  libssl1.1                  1.1.1w-0+deb11u1
ii  libwebsockets16            4.0.20-2
ii  libwrap0                   7.6.q-31
ii  lsb-base                   11.1.0

mosquitto recommends no packages.

Versions of packages mosquitto suggests:
ii  apparmor  2.13.6-10

-- Configuration Files:
/etc/init.d/mosquitto changed:
set -e
PIDDIR=/run/mosquitto
PIDFILE="${PIDDIR}/mosquitto.pid"
DAEMON=/usr/sbin/mosquitto
test -x ${DAEMON} || exit 0
umask 022
. /lib/lsb/init-functions
run_by_init() {
    ([ "$previous" ] && [ "$runlevel" ]) || [ "$runlevel" = S ]
}
export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
create_pid_dir() {
    mkdir -p "$PIDDIR"
    chown mosquitto: "$PIDDIR"
}
case "$1" in
  start)
	if init_is_upstart; then
	    exit 1
	fi
	create_pid_dir
	log_daemon_msg "Starting network daemon:" "mosquitto"
	if start-stop-daemon -u mosquitto -c mosquitto --start --quiet --oknodo --background --pidfile ${PIDFILE} --exec ${DAEMON} -- -c /etc/mosquitto/mosquitto.conf ; then
	    log_end_msg 0
	else
	    log_end_msg 1
	fi
	;;
  stop)
	if init_is_upstart; then
	    exit 0
	fi
	log_daemon_msg "Stopping network daemon:" "mosquitto"
	if start-stop-daemon --stop --quiet --oknodo --pidfile ${PIDFILE}; then
	    log_end_msg 0
	    rm -f ${PIDFILE}
	else
	    log_end_msg 1
	fi
	;;
  reload|force-reload)
	if init_is_upstart; then
	    exit 1
	fi
	log_daemon_msg "Reloading network daemon configuration:" "mosquitto"
        if start-stop-daemon -u mosquitto --stop --signal HUP --quiet --oknodo --pidfile $PIDFILE; then
            log_end_msg 0
        else
            log_end_msg 1
        fi	
	;;
  restart)
	if init_is_upstart; then
	    exit 1
	fi
	log_daemon_msg "Restarting network daemon:" "mosquitto"
	if start-stop-daemon -u mosquitto --stop --quiet --oknodo --retry 30 --pidfile ${PIDFILE}; then
	    rm -f ${PIDFILE}
	fi
	create_pid_dir
	if start-stop-daemon -c mosquitto -u mosquitto --start --quiet --oknodo --background --pidfile ${PIDFILE} --exec ${DAEMON} -- -c /etc/mosquitto/mosquitto.conf ; then
	    log_end_msg 0
	else
	    log_end_msg 1
	fi
	;;
  try-restart)
	if init_is_upstart; then
	    exit 1
	fi
	log_daemon_msg "Restarting Mosquitto message broker" "mosquitto"
	set +e
	start-stop-daemon -u mosquitto --stop --quiet --retry 30 --pidfile ${PIDFILE}
	RET="$?"
	set -e
	case $RET in
	    0)
		# old daemon stopped
		rm -f ${PIDFILE}
		if start-stop-daemon -c mosquitto -u mosquitto --start --quiet --oknodo --background --pidfile ${PIDFILE} --exec ${DAEMON} -- -c /etc/mosquitto/mosquitto.conf ; then
		    log_end_msg 0
		else
		    log_end_msg 1
		fi
		;;
	    1)
		# daemon not running
		log_progress_msg "(not running)"
		log_end_msg 0
		;;
	    *)
		# failed to stop
		log_progress_msg "(failed to stop)"
		log_end_msg 1
		;;
	esac
	;;
  status)
	if init_is_upstart; then
	    exit 1
	fi
	status_of_proc -p ${PIDFILE} ${DAEMON} mosquitto && exit 0 || exit $?
	;;
  *)
	log_action_msg "Usage: /etc/init.d/mosquitto {start|stop|reload|force-reload|restart|try-restart|status}"
	exit 1
esac
exit 0


-- no debconf information

------------=_1706464082-28477-0--

Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 28 Jan 2024 17:46:41 +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); Sun, 28 Jan 2024 17:46:41 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id geTbBOOStmWMbAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:46:11 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DDCA759D; Sun, 28 Jan 2024 17:46:10 +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 38FB6498
	for <[email protected]>; Sun, 28 Jan 2024 17:46:10 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 7B7539B
	for <[email protected]>; Sun, 28 Jan 2024 17:46:09 +0000 (GMT)
Received: (nullmailer pid 29003 invoked by uid 1000);
	Sun, 28 Jan 2024 17:46:09 -0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: forcibly merging 628 831
Date: Sun, 28 Jan 2024 17:46:09 +0000
User-Agent: devscripts bts/2.23.4+deb12u1
Message-ID: <[email protected]>

forcemerge 628 831
thanks


Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 28 Jan 2024 17:46:41 +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); Sun, 28 Jan 2024 17:46:41 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id geTbBOOStmWMbAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:46:11 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DDCA759D; Sun, 28 Jan 2024 17:46:10 +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 38FB6498
	for <[email protected]>; Sun, 28 Jan 2024 17:46:10 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 7B7539B
	for <[email protected]>; Sun, 28 Jan 2024 17:46:09 +0000 (GMT)
Received: (nullmailer pid 29003 invoked by uid 1000);
	Sun, 28 Jan 2024 17:46:09 -0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: forcibly merging 628 831
Date: Sun, 28 Jan 2024 17:46:09 +0000
User-Agent: devscripts bts/2.23.4+deb12u1
Message-ID: <[email protected]>

forcemerge 628 831
thanks


Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 28 Jan 2024 17:46:41 +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); Sun, 28 Jan 2024 17:46:41 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id geTbBOOStmWMbAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:46:11 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DDCA759D; Sun, 28 Jan 2024 17:46:10 +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 38FB6498
	for <[email protected]>; Sun, 28 Jan 2024 17:46:10 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 7B7539B
	for <[email protected]>; Sun, 28 Jan 2024 17:46:09 +0000 (GMT)
Received: (nullmailer pid 29003 invoked by uid 1000);
	Sun, 28 Jan 2024 17:46:09 -0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: forcibly merging 628 831
Date: Sun, 28 Jan 2024 17:46:09 +0000
User-Agent: devscripts bts/2.23.4+deb12u1
Message-ID: <[email protected]>

forcemerge 628 831
thanks


Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 28 Jan 2024 17:46:41 +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); Sun, 28 Jan 2024 17:46:41 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id geTbBOOStmWMbAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sun, 28 Jan 2024 17:46:11 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DDCA759D; Sun, 28 Jan 2024 17:46:10 +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 38FB6498
	for <[email protected]>; Sun, 28 Jan 2024 17:46:10 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 7B7539B
	for <[email protected]>; Sun, 28 Jan 2024 17:46:09 +0000 (GMT)
Received: (nullmailer pid 29003 invoked by uid 1000);
	Sun, 28 Jan 2024 17:46:09 -0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: forcibly merging 628 831
Date: Sun, 28 Jan 2024 17:46:09 +0000
User-Agent: devscripts bts/2.23.4+deb12u1
Message-ID: <[email protected]>

forcemerge 628 831
thanks


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: Thu, 28 Nov 2024 08:39:01 UTC