Devuan bug report logs - #599
initscripts: typo in /etc/init.d/sendsigs (easy fix)

Package: initscripts; Reported by: Jerome BENOIT <calculus@nylyn.rezozer.net>; Keywords: moreinfo; dated Sat, 7 Aug 2021 17:32:01 UTC; Maintainer for initscripts is Devuan Developers <devuan-dev@lists.dyne.org>.

Message received at 599@bugs.devuan.org:


Received: (at 599) by bugs.devuan.org; 8 Aug 2021 12:40:03 +0000
Return-Path: <calculus@rezozer.net>
Delivered-To: devuanbugs@dyne.org
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); Sun, 08 Aug 2021 12:40:03 +0000 (UTC)
Received: from outmail148113.authsmtp.com (outmail148113.authsmtp.com [62.13.148.113])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 6F3A0F6090F
	for <599@bugs.devuan.org>; Sun,  8 Aug 2021 14:37:01 +0200 (CEST)
Received: from punt23.authsmtp.com (punt23.authsmtp.com [62.13.128.122])
	by punt15.authsmtp.com. (8.15.2/8.15.2) with ESMTP id 178Cb0x3095743
	for <599@bugs.devuan.org>; Sun, 8 Aug 2021 13:37:00 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from mail-c233.authsmtp.com (mail-c233.authsmtp.com [62.13.128.233])
	by punt23.authsmtp.com. (8.15.2/8.15.2) with ESMTP id 178Cb0N1070890
	for <599@bugs.devuan.org>; Sun, 8 Aug 2021 13:37:00 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from nen.rezozer.net (aub23-1-78-246-96-191.fbx.proxad.net [78.246.96.191])
	(authenticated bits=0)
	by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id 178Caw6W083780
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <599@bugs.devuan.org>; Sun, 8 Aug 2021 13:36:58 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from [127.0.0.1]
	by nen.rezozer.net with esmtp (Exim 4.92)
	(envelope-from <calculus@rezozer.net>)
	id 1mCi30-00057b-9j
	for 599@bugs.devuan.org; Sun, 08 Aug 2021 14:36:58 +0200
To: 599@bugs.devuan.org
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk> <YQ7PvPjW+mFYRmOu@hindley.org.uk>
 <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
 <YQ997//OHxF7zDqI@hindley.org.uk> <YQ9/cfQyV7zYWi2u@hindley.org.uk>
 <YQ9/cfQyV7zYWi2u@hindley.org.uk>
Reply-To: calculus@rezozer.net
From: Jerome BENOIT <calculus@rezozer.net>
Organization: ReZoZeR
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
Message-ID: <7369f1c3-9b21-0217-e39f-803e9a8ec033@rezozer.net>
Date: Sun, 8 Aug 2021 14:36:57 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.12.0
MIME-Version: 1.0
In-Reply-To: <YQ9/cfQyV7zYWi2u@hindley.org.uk>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="lfZeAzlYGdZrvj1WFgI7TIILh5KBB7iU0"
X-Server-Quench: 52c6801d-f845-11eb-a0f2-84349711df28
X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-AuthRoute: OCdyYgsWA1ZeRQAR FycZFwdaRBciNBBW RxkOMR0HcQshXxle KQBWI0ROOVtaQktW TWYDRCURB0JzWWF0 ewtSZwZbaE9HEQJi TkpNRExbEhtpCB0e AxYZTRg8dgJOCy83 YyFiVnNcVEQ0ckR/ QwBRFz4AbWdhPH1J WERdagJVJVFXLx8T aE13UHAJaGIGZy42 RV8lBT1jdT9CJ28I E1BfZVMUQFoQFSQ9 XwwZT30zDFUCDyQ1 Z1srNlVbHUAQLgM+ dkAsX14DMhAJQk1T FlpcSCFYNxhp
X-Authentic-SMTP: 61633132333330.1021:7600
X-AuthFastPath: 0 (Was 255)
X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system.
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--lfZeAzlYGdZrvj1WFgI7TIILh5KBB7iU0
Content-Type: multipart/mixed; boundary="ln3tYu192RnpjLLsT6wFQGOp85zEsoWjn";
 protected-headers="v1"
From: Jerome BENOIT <calculus@rezozer.net>
Reply-To: calculus@rezozer.net
To: 599@bugs.devuan.org
Message-ID: <7369f1c3-9b21-0217-e39f-803e9a8ec033@rezozer.net>
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk> <YQ7PvPjW+mFYRmOu@hindley.org.uk>
 <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
 <YQ997//OHxF7zDqI@hindley.org.uk> <YQ9/cfQyV7zYWi2u@hindley.org.uk>
 <YQ9/cfQyV7zYWi2u@hindley.org.uk>
In-Reply-To: <YQ9/cfQyV7zYWi2u@hindley.org.uk>

--ln3tYu192RnpjLLsT6wFQGOp85zEsoWjn
Content-Type: multipart/mixed;
 boundary="------------3B72D037449E2254D6C27157"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------3B72D037449E2254D6C27157
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hello Mark, thanks for pointing me to /usr/share/doc/initscripts/README.D=
ebian .
I am sorry I could not find the commit you reference to.

Indeed the current script fulfills the policy in the above README.Debian =
=2E

I would however make the minor change in the first loop [ -e $omitfile ] =
to [ -f $omitfile ] to make clearer
that a file is expected (see patch 599_bugs_devuan_org-sendsigs-filetest.=
patch )

Having said that I think that making loops over one element is rather con=
fusing
and it deserves some explanation if it must be kept it that way
(see patch 599_bugs_devuan_org-sendsigs-lessconfusing.patch ).

Cheers,
Jerome

--=20
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=3Dcalculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

--------------3B72D037449E2254D6C27157
Content-Type: text/x-patch; charset=UTF-8;
 name="599_bugs_devuan_org-sendsigs-filetest.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="599_bugs_devuan_org-sendsigs-filetest.patch"

--- sendsigs.dpkg-dist-original	2019-02-26 17:59:47.000000000 +0100
+++ sendsigs	2021-08-08 14:03:35.860634425 +0200
@@ -28,7 +28,7 @@
 	OMITPIDS=3D
=20
 	for omitfile in /run/sendsigs.omit; do
-		if [ -e $omitfile ]; then
+		if [ -f $omitfile ]; then
 			for pid in $(cat $omitfile); do
 				OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
 			done

--------------3B72D037449E2254D6C27157
Content-Type: text/x-patch; charset=UTF-8;
 name="599_bugs_devuan_org-sendsigs-lessconfusing.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="599_bugs_devuan_org-sendsigs-lessconfusing.patch"

--- sendsigs.dpkg-dist-original	2019-02-26 17:59:47.000000000 +0100
+++ sendsigs	2021-08-08 14:20:43.607818183 +0200
@@ -27,27 +27,25 @@
 do_stop () {
 	OMITPIDS=3D
=20
-	for omitfile in /run/sendsigs.omit; do
-		if [ -e $omitfile ]; then
-			for pid in $(cat $omitfile); do
-				OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
-			done
-		fi
-	done
+	omitfile=3D"/run/sendsigs.omit"
+	if [ -f "${omitfile}" ]; then
+		for pid in $(cat "${omitfile}"); do
+			OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
+		done
+	fi
=20
 	# Load sendsigs.omit.d/packagename files too, to make it
 	# possible for scripts that need to modify the list of pids at
 	# run time without race conditions.
-	for omitdir in /run/sendsigs.omit.d; do
-		if [ -d "${omitdir}" ]; then
-			for pidfile in "${omitdir}/"*; do
-				[ -f "$pidfile" ] || continue
-				for pid in $(cat $pidfile); do
-					OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
-				done
+	omitdir=3D"/run/sendsigs.omit.d"
+	if [ -d "${omitdir}" ]; then
+		for pidfile in "${omitdir}/"*; do
+			[ -f "${pidfile}" ] || continue
+			for pid in $(cat "${pidfile}"); do
+				OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
 			done
-		fi
-	done
+		done
+	fi
=20
 	# Upstart jobs have their own "stop on" clauses that sends
 	# SIGTERM/SIGKILL just like this, so if they're still running,

--------------3B72D037449E2254D6C27157--

--ln3tYu192RnpjLLsT6wFQGOp85zEsoWjn--

--lfZeAzlYGdZrvj1WFgI7TIILh5KBB7iU0
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsN5BAABCAAjFiEEriiuFXEN/x2H5adiP5IZpn82xosFAmEPz+kFAwAAAAAACgkQP5IZpn82xosx
NCAAuvw1i8PBh2wZzvmOH1lAnLYUA54PYf7eUAEHwSL0/7YbyPlsmNWSKGpK1+pFolvsGHefTpOQ
Se04cGznNvUykwTm8SmCKcgBreEvjbQavSRmW2WYXojdzY8eGFb/fHu2HMR3ownQ0Y2J9FJ3Mo4B
JG6Bcm5/PI8at+dgNBJx1LvKojW5AgBVyD6kLMEoULyFL4XbpvW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LgDmCD+TyyByBJxf+WOGsM57suSVxyO8EW7
++ZzI70p62RM7dm3C4+NMh6PwR2XNrobE0lKOQiVK5ADg1a2oyh3djy4j2N4oHmd9ceERN1GizEZ
XA==
=qU/P
-----END PGP SIGNATURE-----

--lfZeAzlYGdZrvj1WFgI7TIILh5KBB7iU0--

Acknowledgement sent to calculus@rezozer.net:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#599; Package initscripts. Full text available.

Message received at 599@bugs.devuan.org:


Received: (at 599) by bugs.devuan.org; 8 Aug 2021 12:40:03 +0000
Return-Path: <calculus@rezozer.net>
Delivered-To: devuanbugs@dyne.org
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); Sun, 08 Aug 2021 12:40:03 +0000 (UTC)
Received: from outmail148113.authsmtp.com (outmail148113.authsmtp.com [62.13.148.113])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 6F3A0F6090F
	for <599@bugs.devuan.org>; Sun,  8 Aug 2021 14:37:01 +0200 (CEST)
Received: from punt23.authsmtp.com (punt23.authsmtp.com [62.13.128.122])
	by punt15.authsmtp.com. (8.15.2/8.15.2) with ESMTP id 178Cb0x3095743
	for <599@bugs.devuan.org>; Sun, 8 Aug 2021 13:37:00 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from mail-c233.authsmtp.com (mail-c233.authsmtp.com [62.13.128.233])
	by punt23.authsmtp.com. (8.15.2/8.15.2) with ESMTP id 178Cb0N1070890
	for <599@bugs.devuan.org>; Sun, 8 Aug 2021 13:37:00 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from nen.rezozer.net (aub23-1-78-246-96-191.fbx.proxad.net [78.246.96.191])
	(authenticated bits=0)
	by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id 178Caw6W083780
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <599@bugs.devuan.org>; Sun, 8 Aug 2021 13:36:58 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from [127.0.0.1]
	by nen.rezozer.net with esmtp (Exim 4.92)
	(envelope-from <calculus@rezozer.net>)
	id 1mCi30-00057b-9j
	for 599@bugs.devuan.org; Sun, 08 Aug 2021 14:36:58 +0200
To: 599@bugs.devuan.org
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk> <YQ7PvPjW+mFYRmOu@hindley.org.uk>
 <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
 <YQ997//OHxF7zDqI@hindley.org.uk> <YQ9/cfQyV7zYWi2u@hindley.org.uk>
 <YQ9/cfQyV7zYWi2u@hindley.org.uk>
Reply-To: calculus@rezozer.net
From: Jerome BENOIT <calculus@rezozer.net>
Organization: ReZoZeR
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
Message-ID: <7369f1c3-9b21-0217-e39f-803e9a8ec033@rezozer.net>
Date: Sun, 8 Aug 2021 14:36:57 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.12.0
MIME-Version: 1.0
In-Reply-To: <YQ9/cfQyV7zYWi2u@hindley.org.uk>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="lfZeAzlYGdZrvj1WFgI7TIILh5KBB7iU0"
X-Server-Quench: 52c6801d-f845-11eb-a0f2-84349711df28
X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-AuthRoute: OCdyYgsWA1ZeRQAR FycZFwdaRBciNBBW RxkOMR0HcQshXxle KQBWI0ROOVtaQktW TWYDRCURB0JzWWF0 ewtSZwZbaE9HEQJi TkpNRExbEhtpCB0e AxYZTRg8dgJOCy83 YyFiVnNcVEQ0ckR/ QwBRFz4AbWdhPH1J WERdagJVJVFXLx8T aE13UHAJaGIGZy42 RV8lBT1jdT9CJ28I E1BfZVMUQFoQFSQ9 XwwZT30zDFUCDyQ1 Z1srNlVbHUAQLgM+ dkAsX14DMhAJQk1T FlpcSCFYNxhp
X-Authentic-SMTP: 61633132333330.1021:7600
X-AuthFastPath: 0 (Was 255)
X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system.
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--lfZeAzlYGdZrvj1WFgI7TIILh5KBB7iU0
Content-Type: multipart/mixed; boundary="ln3tYu192RnpjLLsT6wFQGOp85zEsoWjn";
 protected-headers="v1"
From: Jerome BENOIT <calculus@rezozer.net>
Reply-To: calculus@rezozer.net
To: 599@bugs.devuan.org
Message-ID: <7369f1c3-9b21-0217-e39f-803e9a8ec033@rezozer.net>
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk> <YQ7PvPjW+mFYRmOu@hindley.org.uk>
 <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
 <YQ997//OHxF7zDqI@hindley.org.uk> <YQ9/cfQyV7zYWi2u@hindley.org.uk>
 <YQ9/cfQyV7zYWi2u@hindley.org.uk>
In-Reply-To: <YQ9/cfQyV7zYWi2u@hindley.org.uk>

--ln3tYu192RnpjLLsT6wFQGOp85zEsoWjn
Content-Type: multipart/mixed;
 boundary="------------3B72D037449E2254D6C27157"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------3B72D037449E2254D6C27157
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hello Mark, thanks for pointing me to /usr/share/doc/initscripts/README.D=
ebian .
I am sorry I could not find the commit you reference to.

Indeed the current script fulfills the policy in the above README.Debian =
=2E

I would however make the minor change in the first loop [ -e $omitfile ] =
to [ -f $omitfile ] to make clearer
that a file is expected (see patch 599_bugs_devuan_org-sendsigs-filetest.=
patch )

Having said that I think that making loops over one element is rather con=
fusing
and it deserves some explanation if it must be kept it that way
(see patch 599_bugs_devuan_org-sendsigs-lessconfusing.patch ).

Cheers,
Jerome

--=20
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=3Dcalculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

--------------3B72D037449E2254D6C27157
Content-Type: text/x-patch; charset=UTF-8;
 name="599_bugs_devuan_org-sendsigs-filetest.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="599_bugs_devuan_org-sendsigs-filetest.patch"

--- sendsigs.dpkg-dist-original	2019-02-26 17:59:47.000000000 +0100
+++ sendsigs	2021-08-08 14:03:35.860634425 +0200
@@ -28,7 +28,7 @@
 	OMITPIDS=3D
=20
 	for omitfile in /run/sendsigs.omit; do
-		if [ -e $omitfile ]; then
+		if [ -f $omitfile ]; then
 			for pid in $(cat $omitfile); do
 				OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
 			done

--------------3B72D037449E2254D6C27157
Content-Type: text/x-patch; charset=UTF-8;
 name="599_bugs_devuan_org-sendsigs-lessconfusing.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="599_bugs_devuan_org-sendsigs-lessconfusing.patch"

--- sendsigs.dpkg-dist-original	2019-02-26 17:59:47.000000000 +0100
+++ sendsigs	2021-08-08 14:20:43.607818183 +0200
@@ -27,27 +27,25 @@
 do_stop () {
 	OMITPIDS=3D
=20
-	for omitfile in /run/sendsigs.omit; do
-		if [ -e $omitfile ]; then
-			for pid in $(cat $omitfile); do
-				OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
-			done
-		fi
-	done
+	omitfile=3D"/run/sendsigs.omit"
+	if [ -f "${omitfile}" ]; then
+		for pid in $(cat "${omitfile}"); do
+			OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
+		done
+	fi
=20
 	# Load sendsigs.omit.d/packagename files too, to make it
 	# possible for scripts that need to modify the list of pids at
 	# run time without race conditions.
-	for omitdir in /run/sendsigs.omit.d; do
-		if [ -d "${omitdir}" ]; then
-			for pidfile in "${omitdir}/"*; do
-				[ -f "$pidfile" ] || continue
-				for pid in $(cat $pidfile); do
-					OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
-				done
+	omitdir=3D"/run/sendsigs.omit.d"
+	if [ -d "${omitdir}" ]; then
+		for pidfile in "${omitdir}/"*; do
+			[ -f "${pidfile}" ] || continue
+			for pid in $(cat "${pidfile}"); do
+				OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
 			done
-		fi
-	done
+		done
+	fi
=20
 	# Upstart jobs have their own "stop on" clauses that sends
 	# SIGTERM/SIGKILL just like this, so if they're still running,

--------------3B72D037449E2254D6C27157--

--ln3tYu192RnpjLLsT6wFQGOp85zEsoWjn--

--lfZeAzlYGdZrvj1WFgI7TIILh5KBB7iU0
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsN5BAABCAAjFiEEriiuFXEN/x2H5adiP5IZpn82xosFAmEPz+kFAwAAAAAACgkQP5IZpn82xosx
NCAAuvw1i8PBh2wZzvmOH1lAnLYUA54PYf7eUAEHwSL0/7Yb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npo86Y00yG3yg49s/QnDt6oXnjTZCYF+RcNd0glA
S3guLnfnUMGiwHopCstyv0tGtznpVvCGzhNsHJfNC6WywVTwfPmr1vfu2OeWGuzb8tbO9eGl+uAM
g4TkxacG0r9T0pzCrQKGFkfHNTs8tL9MQ/q4LQWW/LgDmCD+TyyByBJxf+WOGsM57suSVxyO8EW7
++ZzI70p62RM7dm3C4+NMh6PwR2XNrobE0lKOQiVK5ADg1a2oyh3djy4j2N4oHmd9ceERN1GizEZ
XA==
=qU/P
-----END PGP SIGNATURE-----

--lfZeAzlYGdZrvj1WFgI7TIILh5KBB7iU0--

Acknowledgement sent to calculus@rezozer.net:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#599; Package initscripts. Full text available.

Message received at 599@bugs.devuan.org:


Received: (at 599) by bugs.devuan.org; 8 Aug 2021 07:00:02 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
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); Sun, 08 Aug 2021 07:00:02 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(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 52EDDF60CDE
	for <599@bugs.devuan.org>; Sun,  8 Aug 2021 08:53:39 +0200 (CEST)
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 <mark@hindley.org.uk>)
	id 1mCcgk-0002Zd-0O; Sun, 08 Aug 2021 07:53:38 +0100
Received: (nullmailer pid 7076 invoked by uid 1000);
	Sun, 08 Aug 2021 06:53:37 -0000
Date: Sun, 8 Aug 2021 07:53:37 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: calculus@rezozer.net, 599@bugs.devuan.org
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
Message-ID: <YQ9/cfQyV7zYWi2u@hindley.org.uk>
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk>
 <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
 <YQ997//OHxF7zDqI@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YQ997//OHxF7zDqI@hindley.org.uk>
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

On Sun, Aug 08, 2021 at 07:47:11AM +0100, Mark Hindley wrote:
> I don't see any discrepancy between the existing distributed code and that
> stated behaviour. What am I missing?

I should have added that I agree the for loops are not strictly necessary. The
appear left over from when /lib/init/rw was also used as well as /run. See
commit a7469405b3a2d25c0f80916e912a62fcbbe433e7 for the removal of that which
still left the outer for loops intact. But I still don't see a bug.

Mark

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#599; Package initscripts. Full text available.

Message received at 599@bugs.devuan.org:


Received: (at 599) by bugs.devuan.org; 8 Aug 2021 06:50:04 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
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); Sun, 08 Aug 2021 06:50:04 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(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 CCEC8F60CCE
	for <599@bugs.devuan.org>; Sun,  8 Aug 2021 08:47:15 +0200 (CEST)
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 <mark@hindley.org.uk>)
	id 1mCcaX-0002Wp-Io; Sun, 08 Aug 2021 07:47:14 +0100
Received: (nullmailer pid 6739 invoked by uid 1000);
	Sun, 08 Aug 2021 06:47:11 -0000
Date: Sun, 8 Aug 2021 07:47:11 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: calculus@rezozer.net, 599@bugs.devuan.org
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
Message-ID: <YQ997//OHxF7zDqI@hindley.org.uk>
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk>
 <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
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

On Sat, Aug 07, 2021 at 10:51:02PM +0200, Jerome BENOIT wrote:
> On Sat, 7 Aug 2021 19:23:56 +0100 Mark Hindley <mark@hindley.org.uk> wrote:
> > Control: tags -1 moreinfo
> 
> Actually I think that my first fix was actually incorrect.
> 
> Please find in attachment the current version, "my" current version, and
> the corresponding patch.
> 
> I think that otherwise these loops make no sense.

I am still not convinced by this. Read /usr/share/doc/initscripts/README.Debian
to see an explanation of the intented behaviour. In particular

   Process id's listed in /run/sendsigs.omit, or any file in the
   /run/sendsigs.omit.d/ directory will be omitted by sendsigs.

I don't see any discrepancy between the existing distributed code and that
stated behaviour. What am I missing?

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#599; Package initscripts. Full text available.

Message received at 599@bugs.devuan.org:


Received: (at 599) by bugs.devuan.org; 7 Aug 2021 21:00:03 +0000
Return-Path: <calculus@rezozer.net>
Delivered-To: devuanbugs@dyne.org
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); Sat, 07 Aug 2021 21:00:03 +0000 (UTC)
Received: from outmail149043.authsmtp.co.uk (outmail149043.authsmtp.co.uk [62.13.149.43])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 32E0EF60CEC
	for <599@bugs.devuan.org>; Sat,  7 Aug 2021 22:51:04 +0200 (CEST)
Received: from punt21.authsmtp.com (punt21.authsmtp.com [62.13.128.151])
	by punt18.authsmtp.com. (8.15.2/8.15.2) with ESMTP id 177Kp4q3029735
	for <599@bugs.devuan.org>; Sat, 7 Aug 2021 21:51:04 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237])
	by punt21.authsmtp.com. (8.15.2/8.15.2) with ESMTP id 177Kp4rG071703
	for <599@bugs.devuan.org>; Sat, 7 Aug 2021 21:51:04 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from nen.rezozer.net (aub23-1-78-246-96-191.fbx.proxad.net [78.246.96.191])
	(authenticated bits=0)
	by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id 177Kp31G069273
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <599@bugs.devuan.org>; Sat, 7 Aug 2021 21:51:03 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from [127.0.0.1]
	by nen.rezozer.net with esmtp (Exim 4.92)
	(envelope-from <calculus@rezozer.net>)
	id 1mCTHb-0000xh-4b
	for 599@bugs.devuan.org; Sat, 07 Aug 2021 22:51:03 +0200
To: 599@bugs.devuan.org
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk> <YQ7PvPjW+mFYRmOu@hindley.org.uk>
Reply-To: calculus@rezozer.net
From: Jerome BENOIT <calculus@rezozer.net>
Organization: ReZoZeR
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
Message-ID: <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
Date: Sat, 7 Aug 2021 22:51:02 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.12.0
MIME-Version: 1.0
In-Reply-To: <YQ7PvPjW+mFYRmOu@hindley.org.uk>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="wcXOhB4LJ629X9vglNpAOqNs7WpXBwWhK"
X-Server-Quench: 2e0a3796-f7c1-11eb-ba2e-8434971169dc
X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-AuthRoute: OCdyYgsWA1ZeRQAR FycZFwdaRBciNBBW RxkOMR0HcQshXxle KQBWI0ROOVtaQktW TWYMRCURB0JzWWF0 ewhQZwBcaEpNEQJi TkpNRExbEhtpCB0e AxYZTRg8dgJBAz5z ZDFiWHlZW0c0dEJ/ QkoaFzgGNGRnYWYC BkcLdh5VcVYYY00U aAViXHcOZWwAZ3tm TgM4KQo8b31VNSse H1BcfxoTR0cXBTUm RggeBmdnAVwdQG0y KVRhJ0IXW0cXM1l0 PRw6VFQUKB4dEUUe EkhWEWdXJklALwAA 
X-Authentic-SMTP: 61633132333330.1024:7600
X-AuthFastPath: 0 (Was 255)
X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system.
X-Spam-Status: No, score=-0.7 required=5.0 tests=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

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--wcXOhB4LJ629X9vglNpAOqNs7WpXBwWhK
Content-Type: multipart/mixed; boundary="NFwSfBbRNeL2dRtdPBIf9rexiQKvKjkQL";
 protected-headers="v1"
From: Jerome BENOIT <calculus@rezozer.net>
Reply-To: calculus@rezozer.net
To: 599@bugs.devuan.org
Message-ID: <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk> <YQ7PvPjW+mFYRmOu@hindley.org.uk>
In-Reply-To: <YQ7PvPjW+mFYRmOu@hindley.org.uk>

--NFwSfBbRNeL2dRtdPBIf9rexiQKvKjkQL
Content-Type: multipart/mixed;
 boundary="------------37236A555DA3ACE0594C42FE"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------37236A555DA3ACE0594C42FE
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

On Sat, 7 Aug 2021 19:23:56 +0100 Mark Hindley <mark@hindley.org.uk> wrot=
e:
> Control: tags -1 moreinfo

Actually I think that my first fix was actually incorrect.

Please find in attachment the current version, "my" current version, and
the corresponding patch.

I think that otherwise these loops make no sense.

Cheers,
Jerome

--------------37236A555DA3ACE0594C42FE
Content-Type: text/x-patch; charset=UTF-8;
 name="599_bugs_devuan_org-sendsigs.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="599_bugs_devuan_org-sendsigs.patch"

--- sendsigs-dpkg-dist-with_typo	2019-02-26 17:59:47.000000000 +0100
+++ sendsigs	2021-08-07 22:45:52.619263748 +0200
@@ -27,8 +27,8 @@
 do_stop () {
 	OMITPIDS=3D
=20
-	for omitfile in /run/sendsigs.omit; do
-		if [ -e $omitfile ]; then
+	for omitfile in /run/sendsigs.omit.d/*; do
+		if [ -f $omitfile ]; then
 			for pid in $(cat $omitfile); do
 				OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
 			done
@@ -38,7 +38,7 @@
 	# Load sendsigs.omit.d/packagename files too, to make it
 	# possible for scripts that need to modify the list of pids at
 	# run time without race conditions.
-	for omitdir in /run/sendsigs.omit.d; do
+	for omitdir in /run/sendsigs.omit.d/*; do
 		if [ -d "${omitdir}" ]; then
 			for pidfile in "${omitdir}/"*; do
 				[ -f "$pidfile" ] || continue

--------------37236A555DA3ACE0594C42FE
Content-Type: text/plain; charset=UTF-8;
 name="sendsigs"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="sendsigs"

IyEgL2Jpbi9zaAojIyMgQkVHSU4gSU5JVCBJTkZPCiMgUHJvdmlkZXM6ICAgICAgICAgIHNl
bmRzaWdzCiMgUmVxdWlyZWQtU3RhcnQ6ICAgIAojIFJlcXVpcmVkLVN0b3A6ICAgICB1bW91
bnRuZnMKIyBEZWZhdWx0LVN0YXJ0OgojIERlZmF1bHQtU3RvcDogICAgICAwIDYKIyBTaG9y
dC1EZXNjcmlwdGlvbjogS2lsbCBhbGwgcmVtYWluaW5nIHByb2Nlc3Nlcy4KIyBEZXNjcmlw
dGlvbjogCiMjIyBFTkQgSU5JVCBJTkZPCgpQQVRIPS9zYmluOi91c3Ivc2JpbjovYmluOi91
c3IvYmluCgouIC9saWIvbHN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pCgkJaWYga2lsbGFsbDUgLTE4ICRPTUlUUElE
UyA7IHRoZW4KCQkgICAgOgoJCWVsc2UKCQkgICAgYWxsZGVhZD0xCgkJICAgIGJyZWFrCgkJ
ZmkKCgkJc2xlZXAgMQoJZG9uZQoJaWYgWyAteiAiJGFsbGRlYWQiIF0gOyB0aGVuCgkgICAg
cmVwb3J0X3Vua2lsbGFibGUKCSAgICBsb2dfYWN0aW9uX2JlZ2luX21zZyAiS2lsbGluZyBh
bGwgcmVtYWluaW5nIHByb2Nlc3NlcyIKCSAgICBraWxsYWxsNSAtOSAkT01JVFBJRFMgIyBT
SUdLSUxMCgkgICAgbG9nX2FjdGlvbl9lbmRfbXNnIDEKCWVsc2UKCSAgICBsb2dfYWN0aW9u
X2JlZ2luX21zZyAiQWxsIHByb2Nlc3NlcyBlbmRlZCB3aXRoaW4gJHNlcSBzZWNvbmRzIgoJ
ICAgIGxvZ19hY3Rpb25fZW5kX21zZyAwCglmaQp9CgpjYXNlICIkMSIgaW4KICBzdGFydHxz
dGF0dXMpCgkjIE5vLW9wCgk7OwogIHJlc3RhcnR8cmVsb2FkfGZvcmNlLXJlbG9hZCkKCWVj
aG8gIkVycm9yOiBhcmd1bWVudCAnJDEnIG5vdCBzdXBwb3J0ZWQiID4mMgoJZXhpdCAzCgk7
OwogIHN0b3ApCglkb19zdG9wCgk7OwogICopCgllY2hvICJVc2FnZTogJDAgc3RhcnR8c3Rv
cCIgPiYyCglleGl0IDMKCTs7CmVzYWMKCjoK
--------------37236A555DA3ACE0594C42FE
Content-Type: text/plain; charset=UTF-8;
 name="sendsigs-dpkg-dist-with_typo"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="sendsigs-dpkg-dist-with_typo"

IyEgL2Jpbi9zaAojIyMgQkVHSU4gSU5JVCBJTkZPCiMgUHJvdmlkZXM6ICAgICAgICAgIHNl
bmRzaWdzCiMgUmVxdWlyZWQtU3RhcnQ6ICAgIAojIFJlcXVpcmVkLVN0b3A6ICAg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wSfBbRNeL2dRtdPBIf9rexiQKvKjkQL--

--wcXOhB4LJ629X9vglNpAOqNs7WpXBwWhK
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsN5BAABCAAjFiEEriiuFXEN/x2H5adiP5IZpn82xosFAmEO8jYFAwAAAAAACgkQP5IZpn82xouE
3x//fBbSJaCQPoykaJA0b4z7A2bbVkoM6J5xOH+dAsO7kLmXpIWAyGptxqbXubu8sfa1oyRWfSsJ
i1JeU9VXrHeTVRB06vyeHZsvJ39PWIDdLD8nezA9M7nP6kiVQaU7WD4daQk3Mw9tGSRba/U/9cwj
JPLMGigeT1izlEhAqZ8V1rOpqhJzfE7W2Vt7vFezBbUOTyjo8ehjmRMRD8G6ameU1CF/XNKpvn+6
o6RHUfW5iYYKqZzGi7PgGiMkCQoQlmGiKUovnwTniLKOZdwdl4jLCGp33svm7lqfaaY1nu5mDoTr
BVQrnnvQnX+O8WJIksXrxEWK+Val/FLXDNnVB3HFDzX881+Y3J/1EcFInTUHb2VX403wSxc+20uf
CsFjDqslHAHU7caT7WqOBwpsXZ8FjXDEXDDYMPzvB2yqOJl/sjFVetq5lOfBLZeZsej771G2Ls66
/89G+FGDu30PLEIFFg6S/VfslQwAYyABY5Sme4WzJC//FA5hlWplirfs0JlFGqrVhGsgjJPE/eNF
zbl4Q6pR1F3NB8uMi+a5P9cDXwjD+pOu3TxtBFw4hpHijXwAspFABJeBSUndzawziSrlAv04cn4s
gy2n+J3zjod5G3iQTM/EXmyHC7Pqw1jAve1is/I7RR7/Tlz1H9zMlHsZIB5Lr/A3Y5KgmrIS5Ruc
xisO2UzDDLWitqLb9YJs2rtLyokO62XWYP8XUFKAL4gDitQaIQzsOOhsXay1dh1xH36tcxyP6jtW
/UYLv+3N0FOaVbzv6CI1DjujnHHzkev2FeUHHj/kOYueWQh5WYE6aUZWoTsv0O7OLwZegK8/X0iv
6JTq8rdSjPGVEmXNmQw93fUAlRWxzhuuTwFLIKNG93XvKDOP9iJ3HBqSnlaT4Ff8Mp6ys+N3/ZXD
lNnktk9o2nq3fte8/A94VAfWXn90DbbAznaxfGuAbqxOXyhQ/jueR7EgSwPmca90t8s/SUl2iOXw
e+cBgFoyWJ0xsTnlo3TdAEokRr3nxt1Hyvngf3SosG/P+R9OxLyLeGN6h+xjmfCqVKzaxqa87jpH
ctvM2kjXqiWSdTuDq74huYiGb9hG7cRCo0eoF3TvPEiaCWzZPe2OPKvmL+j+7kpzHPnGwc1qGDKy
l3eJm5lPcIthbF9mxZsuXcFAANsPqSauChIcJY/YgAJe6A/O1zZz/2yT+kmU1gArfjLOdTk5mq+n
uwBjZIRl/37/BJaZsC8c24uAScwPvcdzPJrbOk6GZwC/1L+K4Nygtlr3UB4w7uBOgPAFciKdbUgI
9fesR0khqPPbjndqkDf3cX2rrM2NGIu7W22S3cWzQIEB5cIx1gbgb3i2Gujfi7aua4W89QXMk3c8
+w==
=cWJ6
-----END PGP SIGNATURE-----

--wcXOhB4LJ629X9vglNpAOqNs7WpXBwWhK--

Acknowledgement sent to calculus@rezozer.net:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#599; Package initscripts. Full text available.

Message received at 599@bugs.devuan.org:


Received: (at 599) by bugs.devuan.org; 7 Aug 2021 21:00:03 +0000
Return-Path: <calculus@rezozer.net>
Delivered-To: devuanbugs@dyne.org
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); Sat, 07 Aug 2021 21:00:03 +0000 (UTC)
Received: from outmail149043.authsmtp.co.uk (outmail149043.authsmtp.co.uk [62.13.149.43])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 32E0EF60CEC
	for <599@bugs.devuan.org>; Sat,  7 Aug 2021 22:51:04 +0200 (CEST)
Received: from punt21.authsmtp.com (punt21.authsmtp.com [62.13.128.151])
	by punt18.authsmtp.com. (8.15.2/8.15.2) with ESMTP id 177Kp4q3029735
	for <599@bugs.devuan.org>; Sat, 7 Aug 2021 21:51:04 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237])
	by punt21.authsmtp.com. (8.15.2/8.15.2) with ESMTP id 177Kp4rG071703
	for <599@bugs.devuan.org>; Sat, 7 Aug 2021 21:51:04 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from nen.rezozer.net (aub23-1-78-246-96-191.fbx.proxad.net [78.246.96.191])
	(authenticated bits=0)
	by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id 177Kp31G069273
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
	for <599@bugs.devuan.org>; Sat, 7 Aug 2021 21:51:03 +0100 (BST)
	(envelope-from calculus@rezozer.net)
Received: from [127.0.0.1]
	by nen.rezozer.net with esmtp (Exim 4.92)
	(envelope-from <calculus@rezozer.net>)
	id 1mCTHb-0000xh-4b
	for 599@bugs.devuan.org; Sat, 07 Aug 2021 22:51:03 +0200
To: 599@bugs.devuan.org
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk> <YQ7PvPjW+mFYRmOu@hindley.org.uk>
Reply-To: calculus@rezozer.net
From: Jerome BENOIT <calculus@rezozer.net>
Organization: ReZoZeR
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
Message-ID: <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
Date: Sat, 7 Aug 2021 22:51:02 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.12.0
MIME-Version: 1.0
In-Reply-To: <YQ7PvPjW+mFYRmOu@hindley.org.uk>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="wcXOhB4LJ629X9vglNpAOqNs7WpXBwWhK"
X-Server-Quench: 2e0a3796-f7c1-11eb-ba2e-8434971169dc
X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-AuthRoute: OCdyYgsWA1ZeRQAR FycZFwdaRBciNBBW RxkOMR0HcQshXxle KQBWI0ROOVtaQktW TWYMRCURB0JzWWF0 ewhQZwBcaEpNEQJi TkpNRExbEhtpCB0e AxYZTRg8dgJBAz5z ZDFiWHlZW0c0dEJ/ QkoaFzgGNGRnYWYC BkcLdh5VcVYYY00U aAViXHcOZWwAZ3tm TgM4KQo8b31VNSse H1BcfxoTR0cXBTUm RggeBmdnAVwdQG0y KVRhJ0IXW0cXM1l0 PRw6VFQUKB4dEUUe EkhWEWdXJklALwAA 
X-Authentic-SMTP: 61633132333330.1024:7600
X-AuthFastPath: 0 (Was 255)
X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system.
X-Spam-Status: No, score=-0.7 required=5.0 tests=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

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--wcXOhB4LJ629X9vglNpAOqNs7WpXBwWhK
Content-Type: multipart/mixed; boundary="NFwSfBbRNeL2dRtdPBIf9rexiQKvKjkQL";
 protected-headers="v1"
From: Jerome BENOIT <calculus@rezozer.net>
Reply-To: calculus@rezozer.net
To: 599@bugs.devuan.org
Message-ID: <31e56d8a-15ce-b1d9-a816-634637df751a@rezozer.net>
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
 <YQ7PvPjW+mFYRmOu@hindley.org.uk> <YQ7PvPjW+mFYRmOu@hindley.org.uk>
In-Reply-To: <YQ7PvPjW+mFYRmOu@hindley.org.uk>

--NFwSfBbRNeL2dRtdPBIf9rexiQKvKjkQL
Content-Type: multipart/mixed;
 boundary="------------37236A555DA3ACE0594C42FE"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------37236A555DA3ACE0594C42FE
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

On Sat, 7 Aug 2021 19:23:56 +0100 Mark Hindley <mark@hindley.org.uk> wrot=
e:
> Control: tags -1 moreinfo

Actually I think that my first fix was actually incorrect.

Please find in attachment the current version, "my" current version, and
the corresponding patch.

I think that otherwise these loops make no sense.

Cheers,
Jerome

--------------37236A555DA3ACE0594C42FE
Content-Type: text/x-patch; charset=UTF-8;
 name="599_bugs_devuan_org-sendsigs.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="599_bugs_devuan_org-sendsigs.patch"

--- sendsigs-dpkg-dist-with_typo	2019-02-26 17:59:47.000000000 +0100
+++ sendsigs	2021-08-07 22:45:52.619263748 +0200
@@ -27,8 +27,8 @@
 do_stop () {
 	OMITPIDS=3D
=20
-	for omitfile in /run/sendsigs.omit; do
-		if [ -e $omitfile ]; then
+	for omitfile in /run/sendsigs.omit.d/*; do
+		if [ -f $omitfile ]; then
 			for pid in $(cat $omitfile); do
 				OMITPIDS=3D"${OMITPIDS:+$OMITPIDS }-o $pid"
 			done
@@ -38,7 +38,7 @@
 	# Load sendsigs.omit.d/packagename files too, to make it
 	# possible for scripts that need to modify the list of pids at
 	# run time without race conditions.
-	for omitdir in /run/sendsigs.omit.d; do
+	for omitdir in /run/sendsigs.omit.d/*; do
 		if [ -d "${omitdir}" ]; then
 			for pidfile in "${omitdir}/"*; do
 				[ -f "$pidfile" ] || continue

--------------37236A555DA3ACE0594C42FE
Content-Type: text/plain; charset=UTF-8;
 name="sendsigs"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="sendsigs"

IyEgL2Jpbi9zaAojIyMgQkVHSU4gSU5JVCBJTkZPCiMgUHJvdmlkZXM6ICAgICAgICAgIHNl
bmRzaWdzCiMgUmVxdWlyZWQtU3RhcnQ6ICAgIAojIFJlcXVpcmVkLVN0b3A6ICAgICB1bW91
bnRuZnMKIyBEZWZhdWx0LVN0YXJ0OgojIERlZmF1bHQtU3RvcDogICAgICAwIDYKIyBTaG9y
dC1EZXNjcmlwdGlvbjogS2lsbCBhbGwgcmVtYWluaW5nIHByb2Nlc3Nlcy4KIyBEZXNjcmlw
dGlvbjogCiMjIyBFTkQgSU5JVCBJTkZPCgpQQVRIPS9zYmluOi91c3Ivc2JpbjovYmluOi91
c3IvYmluCgouIC9saWIvbHNiL2luaXQtZnVuY3Rpb25zCgojIE1ha2UgaXQgcG9zc2libGUg
dG8gc2VlIHdobyB0aGUgbWlzYmVoYXZpbmcgcHJvY2Vzc2VzIGFyZQpyZXBvcnRfdW5raWxs
YWJsZSgpIHsKCWlmIFsgLXggL3Vzci9iaW4vcHN0cmVlIF0gOyB0aGVuCgkJZWNobyAiQ3Vy
cmVudGx5IHJ1bm5pbmcgcHJvY2Vzc2VzIChwc3RyZWUpOiIKCQlwc3RyZWUKCWVsaWYgWyAt
eCAvYmluL3BzIF0gOyB0aGVuCgkJZWNobyAiQ3VycmVudGx5IHJ1bm5pbmcgcHJvY2Vzc2Vz
IChwcyk6IgoJCXBzIC1lZgoJZmkKfQoKZG9fc3RvcCAoKSB7CglPTUlUUElEUz0KCglmb3Ig
b21pdGZpbGUgaW4gL3J1bi9zZW5kc2lncy5vbWl0LmQvKjsgZG8KCQlpZiBbIC1mICRvbWl0
ZmlsZSBdOyB0aGVuCgkJCWZvciBwaWQgaW4gJChjYXQgJG9taXRmaWxlKTsgZG8KCQkJCU9N
SVRQSURTPSIke09NSVRQSURTOiskT01JVFBJ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ZvcmNlLXJlbG9hZCkKCWVj
aG8gIkVycm9yOiBhcmd1bWVudCAnJDEnIG5vdCBzdXBwb3J0ZWQiID4mMgoJZXhpdCAzCgk7
OwogIHN0b3ApCglkb19zdG9wCgk7OwogICopCgllY2hvICJVc2FnZTogJDAgc3RhcnR8c3Rv
cCIgPiYyCglleGl0IDMKCTs7CmVzYWMKCjoK
--------------37236A555DA3ACE0594C42FE
Content-Type: text/plain; charset=UTF-8;
 name="sendsigs-dpkg-dist-with_typo"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="sendsigs-dpkg-dist-with_typo"

IyEgL2Jpbi9zaAojIyMgQkVHSU4gSU5JVCBJTkZPCiMgUHJvdmlkZXM6ICAgICAgICAgIHNl
bmRzaWdzCiMgUmVxdWlyZWQtU3RhcnQ6ICAgIAojIFJlcXVpcmVkLVN0b3A6ICAgICB1bW91
bnRuZnMKIyBEZWZhdWx0LVN0YXJ0OgojIERlZmF1bHQtU3RvcDogICAgICAwIDYKIyBTaG9y
dC1EZXNjcmlwdGlvbjogS2lsbCBhbGwgcmVtYWluaW5nIHByb2Nlc3Nlcy4KIyBEZXNjcmlw
dGlvbjogCiMjIyBFTkQgSU5JVCBJTkZPCgpQQVRIPS9zYmluOi91c3Ivc2JpbjovYmluOi91
c3IvYmluCgouIC9saWIvbHNiL2luaXQtZnVuY3Rpb25zCgojIE1ha2UgaXQgcG9zc2libGUg
dG8gc2VlIHdobyB0aGUgbWlzYmVoYXZpbmcgcHJvY2Vzc2VzIGFyZQpyZXBvcnRfdW5raWxs
YWJsZSgpIHsKCWlmIFsgLXggL3Vzci9iaW4vcHN0cmVlIF0gOyB0aGVuCgkJZWNobyAiQ3Vy
cmVudGx5IHJ1bm5pbmcgcHJvY2Vzc2VzIChwc3RyZWUpOiIKCQlwc3RyZWUKCWVsaWYgWyAt
eCAvYmluL3BzIF0gOyB0aGVuCgkJZWNobyAiQ3VycmVudGx5IHJ1bm5pbmcgcHJvY2Vzc2Vz
IChwcy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mRfbXNnIDEKCWVsc2UKCSAgICBsb2dfYWN0aW9uX2JlZ2lu
X21zZyAiQWxsIHByb2Nlc3NlcyBlbmRlZCB3aXRoaW4gJHNlcSBzZWNvbmRzIgoJICAgIGxv
Z19hY3Rpb25fZW5kX21zZyAwCglmaQp9CgpjYXNlICIkMSIgaW4KICBzdGFydHxzdGF0dXMp
CgkjIE5vLW9wCgk7OwogIHJlc3RhcnR8cmVsb2FkfGZvcmNlLXJlbG9hZCkKCWVjaG8gIkVy
cm9yOiBhcmd1bWVudCAnJDEnIG5vdCBzdXBwb3J0ZWQiID4mMgoJZXhpdCAzCgk7OwogIHN0
b3ApCglkb19zdG9wCgk7OwogICopCgllY2hvICJVc2FnZTogJDAgc3RhcnR8c3RvcCIgPiYy
CglleGl0IDMKCTs7CmVzYWMKCjoK
--------------37236A555DA3ACE0594C42FE--

--NFwSfBbRNeL2dRtdPBIf9rexiQKvKjkQL--

--wcXOhB4LJ629X9vglNpAOqNs7WpXBwWhK
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsN5BAABCAAjFiEEriiuFXEN/x2H5adiP5IZpn82xosFAmEO8jYFAwAAAAAACgkQP5IZpn82xouE
3x//fBbSJaCQPoykaJA0b4z7A2bbVkoM6J5xOH+dAsO7kLmXpIWAyGptxqbXubu8sfa1oyRWfSsJ
i1JeU9VXrHeTVRB06vyeHZsvJ39PWIDdLD8nezA9M7nP6kiVQaU7WD4daQk3Mw9tGSRba/U/9cwj
JPLMGigeT1izlEhAqZ8V1rOpqhJzfE7W2Vt7vFezBbUOTyjo8ehjmRMRD8G6ameU1CF/XNKpvn+6
o6RHUfW5iYYKqZzGi7PgGiMkCQoQlmGiKUovnwTniLKOZdwdl4jLCGp33svm7lqfaaY1nu5mDoTr
BVQrnnvQnX+O8WJIksXrxEWK+Val/FLXDNnVB3HFDzX881+Y3J/1EcFInT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K--

Acknowledgement sent to calculus@rezozer.net:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#599; Package initscripts. Full text available.
Added tag(s) moreinfo. Request was from Mark Hindley <mark@hindley.org.uk> to 599-submit@bugs.devuan.org. Full text available.

Message received at 599@bugs.devuan.org:


Received: (at 599) by bugs.devuan.org; 7 Aug 2021 18:30:04 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
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); Sat, 07 Aug 2021 18:30:04 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(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 565D4F60CE9
	for <599@bugs.devuan.org>; Sat,  7 Aug 2021 20:23:59 +0200 (CEST)
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 <mark@hindley.org.uk>)
	id 1mCQzG-00074S-1H; Sat, 07 Aug 2021 19:23:58 +0100
Received: (nullmailer pid 29527 invoked by uid 1000);
	Sat, 07 Aug 2021 18:23:56 -0000
Date: Sat, 7 Aug 2021 19:23:56 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Jerome BENOIT <calculus@nylyn.rezozer.net>, 599@bugs.devuan.org
Subject: Re: bug#599: initscripts: typo in /etc/init.d/sendsigs (easy fix)
Message-ID: <YQ7PvPjW+mFYRmOu@hindley.org.uk>
References: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
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

Jerome,

Thanks for this.

On Sat, Aug 07, 2021 at 05:23:17PM +0000, Jerome BENOIT wrote:
> Package: initscripts
> Version: 2.93-8+devuan1
> Severity: normal
> 
> Dear Maintainer,
> 
> 	In the /etc/init.d/sendsigs script, at the beginning of function
> 	do_stop(), in the for-loop, the in-argument seems to be mispelled:
> 	the terminal '.d' is missing.

Hmmm, I am not so sure about this.
 
> do_stop () {
> 	OMITPIDS=
> 
> 	for omitfile in /run/sendsigs.omit; do

I think this is where you think the typo is ^^^^?

Isn't this legacy handling for /run/sendsigs.omit? Admittedly that file is not
present on my beowulf system..

> 		if [ -e $omitfile ]; then

.. so this is skipped.

> 			for pid in $(cat $omitfile); do
> 				OMITPIDS="${OMITPIDS:+$OMITPIDS }-o $pid"
> 			done
> 		fi
> 	done
> 
> 	# Load sendsigs.omit.d/packagename files too, to make it
> 	# possible for scripts that need to modify the list of pids at
> 	# run time without race conditions.
> 	for omitdir in /run/sendsigs.omit.d; do

Files in /run/sendsigs.omit.d/ are handled here.

> 		if [ -d "${omitdir}" ]; then
> 			for pidfile in "${omitdir}/"*; do
> 				[ -f "$pidfile" ] || continue
> 				for pid in $(cat $pidfile); do
> 					OMITPIDS="${OMITPIDS:+$OMITPIDS }-o $pid"
> 				done
> 			done
> 		fi
> 	done

Or have I misunderstood you?

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#599; Package initscripts. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 7 Aug 2021 17:30:04 +0000
Return-Path: <calculus@nylyn.rezozer.net>
Delivered-To: devuanbugs@dyne.org
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); Sat, 07 Aug 2021 17:30:04 +0000 (UTC)
Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 96C96F60CE1
	for <submit@bugs.devuan.org>; Sat,  7 Aug 2021 19:23:23 +0200 (CEST)
Received: (Authenticated sender: alembick@rezozer.xyz)
	by relay11.mail.gandi.net (Postfix) with ESMTPSA id 225AD100002
	for <submit@bugs.devuan.org>; Sat,  7 Aug 2021 17:23:21 +0000 (UTC)
Received: from [78.246.96.191] (helo=qubbuq.rezozer.net)
	by nylyn.rezozer.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.89)
	(envelope-from <calculus@rezozer.net>)
	id 1mCQ2Z-0002sJ-5B; Sat, 07 Aug 2021 17:23:19 +0000
Received: from jgmb by qubbuq.rezozer.net with local (Exim 4.92)
	(envelope-from <calculus@rezozer.net>)
	id 1mCQ2X-0001Nz-LJ; Sat, 07 Aug 2021 17:23:17 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jerome BENOIT <calculus@nylyn.rezozer.net>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: initscripts: typo in /etc/init.d/sendsigs (easy fix)
Message-ID: <162835699765.5084.16710644229743945299.reportbug@qubbuq.rezozer.net>
Date: Sat, 07 Aug 2021 17:23:17 +0000
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: initscripts
Version: 2.93-8+devuan1
Severity: normal

Dear Maintainer,

	In the /etc/init.d/sendsigs script, at the beginning of function
	do_stop(), in the for-loop, the in-argument seems to be mispelled:
	the terminal '.d' is missing.

Cheers, and thanks for your work,
Jerome

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

Kernel: Linux 5.10.0-0.bpo.7-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages initscripts depends on:
ii  coreutils       8.30-3
ii  debianutils     4.8.6.1
ii  lsb-base        10.2019051400
ii  mount           2.33.1-0.1+devuan1~beowulf2
ii  sysv-rc         2.93-8+devuan1
ii  sysvinit-utils  2.93-8+devuan1

Versions of packages initscripts recommends:
ii  e2fsprogs  1.44.5-1+deb10u3
ii  psmisc     23.2-1

initscripts suggests no packages.

-- no debconf information

Acknowledgement sent to Jerome BENOIT <calculus@nylyn.rezozer.net>:
New bug report received and forwarded. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#599; Package initscripts. Full text available.

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 <owner@bugs.devuan.org>.
Last modified: Sun, 22 May 2022 18:39:02 UTC