Devuan bug report logs - #842
initscripts bug - /etc/init.d/rc.local does not run /etc/rc.shutdown on shutdown

Package: initscripts; Reported by: [email protected]; Done: [email protected]; Maintainer for initscripts is Devuan Developers <[email protected]>.

Message received at [email protected]:


Received: (at 842-done) by bugs.devuan.org; 17 Apr 2024 13:21:06 +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, 17 Apr 2024 13:21:06 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id xwypHpfMH2bjCgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 17 Apr 2024 13:20:23 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 6860F401; Wed, 17 Apr 2024 13:20:23 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devuan.org;
	s=default; t=1713360023;
	bh=yrWElzZ1e6S0jSFUmT7qtAf3qMRNsP4t+IoExU/wgfA=;
	h=From:To:Subject:Date:From;
	b=H4eWRT8UjyUmA9yATXl82CH9BC//FzUFrXeBvl2ix/tz2EeObaG3ms2YOhnn7mp2Y
	 9ZM9VvP2IPSoNrxT29on6lWWCKH1Syh1BdjaRlDQWVlxzajegUtZM5/39uBt9Yj58B
	 Aiu7dcnYMjvFl0D+uqY1FZMMWttRvPkvrSVf1TQw5MQ2pSnH2ArYw26ciLLYoCj7sc
	 hn9zFvie8pT3X9m2hEMz8hnz2658xh9kcSy3CIdoxmLfgIGF+5Mxj//ESIbHOAkyp/
	 ZObV4LM47JfjGgo/1YUztMfn81y2c80KQPfc3GFwr3hokyLGhyQLqm30YhHmmSOET5
	 zZLzZrAs2Vm1A==
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,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no
	version=3.4.6
Received: from mail.devuan.dev (bonito.devuan.org [85.10.193.185])
	by email.devuan.org (Postfix) with ESMTP id C16AB15B
	for <[email protected]>; Wed, 17 Apr 2024 13:20:18 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=devuan.org;
	s=default; t=1713360018;
	bh=yrWElzZ1e6S0jSFUmT7qtAf3qMRNsP4t+IoExU/wgfA=;
	h=From:To:Subject:Date:From;
	b=WF5xBPMWbSJU///NvNg1Ufuh7LNUYeZ73T8OChlRAactLsE95BHy92Yev5MyxCSwY
	 OrkFyCIO8U7YN/vWO9lm8Uyyhmm81QuViN3TgVA6GCFiKdQvbJ+lnnoPp/RHCaLfbt
	 xdRqtmsDK+bOs+4DQwT7PKDSLYyzyj4TGqhKK/Q2cMZZvTF1T4AVEZb1Aj4l9tl8pU
	 oEiLYY7xeilwYsjuy48f7OKwpo8BucIFKkyy5W6ciR7hkWQK8FTy2aTcGFzBxDbxG/
	 mS0bIXh9zgvNGKeteo+iwQSEh7N3kIGpSnWaQfDrISU/iBaIkn/19uXpQO9i7UqrHn
	 X775qWb+ScaIw==
Received: from dak.localnet.devuan.org (dak.localnet.devuan.org [192.168.97.90])
	by mail.devuan.dev (Postfix) with SMTP id 3F7394824C9
	for <[email protected]>; Wed, 17 Apr 2024 13:20:18 +0000 (UTC)
Received: (nullmailer pid 26349 invoked by uid 107);
	Wed, 17 Apr 2024 13:20:18 -0000
From: [email protected]
To: [email protected]
Subject: #842: fixed in src:sysvinit version 3.09-1devuan1
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Date: Wed, 17 Apr 2024 13:20:18 +0000
Message-Id: <[email protected]>


Version: 3.09-1devuan1

Source package sysvinit (3.09-1devuan1) added to Devuan suite unstable.

This closes bug report 842.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 17 Apr 2024 13:55:47 +0100
Source: sysvinit
Architecture: source
Version: 3.09-1devuan1
Distribution: unstable
Urgency: medium
Maintainer: Devuan Developers <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Closes: 842
Changes:
 sysvinit (3.09-1devuan1) unstable; urgency=medium
 .
   * Merge tag debian/3.09-1.
     - includes updated rc.local stop levels (Closes: #842).
Checksums-Sha1:
 325ce4ad973813175d76fcb9f721e577a4f75c94 1996 sysvinit_3.09-1devuan1.dsc
 b37b1611a8784eb1a51057f0cb485092fe752125 514145 sysvinit_3.09.orig.tar.gz
 da0eca7b539989392d232171c1b13399be219082 122004 sysvinit_3.09-1devuan1.debian.tar.xz
 d0f18db209ddd11845d8834cb56e527c728cff23 5471 sysvinit_3.09-1devuan1_source.buildinfo
Checksums-Sha256:
 96d51601266525e35e0d33ea785469252bd5c5bbaa0a33560c7b222ed01bfb9c 1996 sysvinit_3.09-1devuan1.dsc
 991c5d0100165d7896dae9df6a69877311cdd5349e32f7fc6960859f5f60a6ce 514145 sysvinit_3.09.orig.tar.gz
 f486676d59a08faa2ade6881cc29ae04a27d0380c04c513c3fe7c1f5d01c16be 122004 sysvinit_3.09-1devuan1.debian.tar.xz
 0ac7983ace66df748c1ed670e14f59353a925ebc7a3ffd921cf3e878c7aeae21 5471 sysvinit_3.09-1devuan1_source.buildinfo
Files:
 88ad918d9f5937dc23dc68587f7eb1e7 1996 admin required sysvinit_3.09-1devuan1.dsc
 299a395c506a0301892a4f8e9b0fe6d8 514145 admin required sysvinit_3.09.orig.tar.gz
 b4e37b6190e0aa0aa023add03b25ca7c 122004 admin required sysvinit_3.09-1devuan1.debian.tar.xz
 ebda577f35a639249e1e4cf829e09250 5471 admin required sysvinit_3.09-1devuan1_source.buildinfo

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

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmYfypMACgkQlFMhJFQZ
Ivu4Wgf9Fl4d3Hun5s+5faQH7Qe+9/HGHRk68nJ5IGbF0p9U03wXr614LXBR3Z7d
TQQNguygL2h+B06X2rk9wEmbTWlyezJdbslzv8GE+ZsQpK2QNv4Wr5R1b9iXzHqH
aLFae4bpDGnxqFhpUsVZ2+euxxty2zvVO5s7+POXIERklv1k+sR/o25lmZIob2mE
KlB4jSUJQWv4SwglTfaect2V4XxJHtTjOMuWpk0CAqOq4WZUKlsWyWRFfOiM/1v6
C9C2cY5HkRocDzlxBaqC0HoobG84bItpd0Owm6KtxDcecxOHGw4R7Q0DZmTQeNva
9rmh5dRaJo+m2po6A5x1EOZE7qM/dw==
=TGIn
-----END PGP SIGNATURE-----

Notification sent to [email protected]:
bug acknowledged by developer. Full text available.
Reply sent to [email protected]:
You have taken responsibility. Full text available.

Message received at [email protected]:


Received: (at 842) by bugs.devuan.org; 20 Mar 2024 13: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, 20 Mar 2024 13:10:33 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id 7hr7GSLg+mX2VwAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 20 Mar 2024 13:09:54 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 2CE044A0; Wed, 20 Mar 2024 13:09:53 +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 D398D3F8
	for <[email protected]>; Wed, 20 Mar 2024 13:09:48 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 609A5B7;
	Wed, 20 Mar 2024 13:09:47 +0000 (GMT)
Received: (nullmailer pid 24335 invoked by uid 1000);
	Wed, 20 Mar 2024 13:09:47 -0000
Date: Wed, 20 Mar 2024 13:09:47 +0000
From: Mark Hindley <[email protected]>
To: Thorsten Glaser <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: bug#842: initscripts bug - /etc/init.d/rc.local does not run
 /etc/rc.shutdown on shutdown
Message-ID: <[email protected]>
References: <[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]>

Thorsten,

On Wed, Mar 20, 2024 at 01:11:10PM +0100, Thorsten Glaser wrote:
> >Hmm, that is because bin:initscripts is built from src:sysvinit. I am not sure
> >that can be easily fixed without separating it out.
> 
> Should be possible to add a Homepage header to the binary package entry.

Thanks. I am not sure why I had the preconception that Homepage was only valid
in the Source stanza.

I suppose it needs adding to bin:sysv-rc as well.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <[email protected]>. Full text available.
Information forwarded to [email protected], Devuan Developers <[email protected]>:
bug#842; Package initscripts. Full text available.
Marked as found in versions sysvinit/3.06-4devuan3. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
bug reassigned from package 'initscriptsversion: 3.06-4devuan3' to 'initscripts'. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 842) by bugs.devuan.org; 20 Mar 2024 09:25:36 +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, 20 Mar 2024 09:25:36 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id rrNbKVCr+mXUSwAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 20 Mar 2024 09:24:32 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 7E2943FA; Wed, 20 Mar 2024 09:24:32 +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 35F745E
	for <[email protected]>; Wed, 20 Mar 2024 09:24:26 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 78C71B7;
	Wed, 20 Mar 2024 09:24:23 +0000 (GMT)
Received: (nullmailer pid 12483 invoked by uid 1000);
	Wed, 20 Mar 2024 09:24:22 -0000
Date: Wed, 20 Mar 2024 09:24:22 +0000
From: Mark Hindley <[email protected]>
To: [email protected], [email protected]
Cc: [email protected]
Subject: Re: bug#842: initscripts bug - /etc/init.d/rc.local does not run
 /etc/rc.shutdown on shutdown
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks

Control: reassign -1 initscripts 3.06-4devuan3

Thanks

On Wed, Mar 20, 2024 at 01:15:29AM +0100, [email protected] wrote:
> Package: initscriptsVersion: 3.06-4devuan3
> The header field for Default-Stop in rc.local is empty so do_stop is never run which means /etc/rc.shutdown isn't run either.
> Modifying these lines thus:
> 
> # Required-Stop :������� $all
> # Default-Stop:����������� 0 6
> 
> then running:
> # update-rc.d -f rc.local remove
> # update-rc.d rc.local defaults
> 
> saw it begin to work as expected, don't know if that exact change is ideal for
> all circumstances, but something like that seems to be required.

I added support for rc.shutdown as prompted in #959860[1]. But, I agree,
updating Default-Stop in the LSB header appears to be an omission.

Does anybody see a problem with changing this?

> Also "aptitude show initscripts" says the homepage for the package is
> https://github.com/slicer69/sysvinit but the initscripts aren't hosted there,
> only the sysvinit package itself.

Hmm, that is because bin:initscripts is built from src:sysvinit. I am not sure
that can be easily fixed without separating it out.

[1]  https://bugs.debian.org/959860


Information forwarded to [email protected], [email protected]:
bug#842; Package initscriptsversion: 3.06-4devuan3. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 20 Mar 2024 00:16:34 +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, 20 Mar 2024 00:16:34 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id HoPhGKkq+mX6MgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 20 Mar 2024 00:15:37 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 39E6E4A0; Wed, 20 Mar 2024 00:15:36 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; secure) header.d=tuta.io [email protected] header.a=rsa-sha256 header.s=s1 header.b=g+6KsE/a;
	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,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=81.3.6.162; helo=w1.tutanota.de; [email protected]; receiver=<UNKNOWN> 
Received: from w1.tutanota.de (w1.tutanota.de [81.3.6.162])
	by email.devuan.org (Postfix) with ESMTPS id 4366A1F7
	for <[email protected]>; Wed, 20 Mar 2024 00:15:31 +0000 (UTC)
Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10])
	by w1.tutanota.de (Postfix) with ESMTP id 95BEEFBF89E
	for <[email protected]>; Wed, 20 Mar 2024 00:15:29 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1710893729;
	s=s1; d=tuta.io;
	h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender;
	bh=EmBeWUERXnB08SxSKG1GL5QQKum32OmVZtoKiMqp1YI=;
	b=g+6KsE/a5tzJetR4XL53axXo7ja97mnRm29auM132d7TgByHud2WKDGoTYcmOvL7
	Sa1AXsJwIhXv5g6mg6iPUycwKdzIwgaFBT3+E98BDlu2KmGa55OfHGHWx9C3YozjJN1
	iamaC9dGOfNJ0395RUcoXl2FoQK9GhNMNNuUT/mryqXAJCSZQPCgd32iLYq5ivkyYta
	wv8JXWOcl3Vm8RMLMJKS/46ei4/F9iXFcAx1AW6PrKz7xyIFlVlHdDu4oJqi83Q72kT
	jQ4FamWwrhknZnPtSXtMqvRTyjKgJIIs/zgC84QpS9zbl1Ue/cloe/vWRUWM9iHa+jh
	g2W/n7Tscg==
Date: Wed, 20 Mar 2024 01:15:29 +0100 (CET)
From: [email protected]
To: Submit <[email protected]>
Message-ID: <[email protected]>
Subject: initscripts bug - /etc/init.d/rc.local does not run
 /etc/rc.shutdown on shutdown
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Package: initscriptsVersion: 3.06-4devuan3
The header field for Default-Stop in rc.local is empty so do_stop is never =
run which means /etc/rc.shutdown isn't run either.
Modifying these lines thus:

# Required-Stop :=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $all
# Default-Stop:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 0 6

then running:
# update-rc.d -f rc.local remove
# update-rc.d rc.local defaults

saw it begin to work as expected, don't know if that exact change is ideal =
for all circumstances, but something like that seems to be required.

Also "aptitude show initscripts" says the homepage for the package is https=
://github.com/slicer69/sysvinit but the initscripts aren't hosted there, on=
ly the sysvinit package itself.

Acknowledgement sent to [email protected]:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
bug#842; Package initscriptsversion: 3.06-4devuan3. 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 <[email protected]>.
Last modified: Sat, 30 Nov 2024 22:39:01 UTC