Devuan bug report logs - #882
/etc/logrotate.d/lighttpd: Questionable use of invoke-rc.d

version graph

Package: init-system-helpers; Maintainer for init-system-helpers is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for init-system-helpers is src:init-system-helpers.

Reported by: Opty <opty77@gmail.com>

Date: Tue, 1 Apr 2025 12:44:01 UTC

Severity: normal

Tags: debian, moreinfo

Merged with 881, 883, 884

Found in version init-system-helpers/1.65.2devuan1

Full log


Message #20 received at 882@bugs.devuan.org (full text, mbox, reply):

Received: (at 882) by bugs.devuan.org; 2 Apr 2025 12:13:35 +0000
Return-Path: <plorenzo@disroot.org>
Delivered-To: bugs@devuan.org
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, 02 Apr 2025 12:13:35 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id 7Xw7I6Qp7WePGAAAmSBk0A
	(envelope-from <plorenzo@disroot.org>)
	for <bugs@devuan.org>; Wed, 02 Apr 2025 12:12:20 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 76F8C642; Wed,  2 Apr 2025 12:12:20 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; secure) header.d=disroot.org header.i=@disroot.org header.a=rsa-sha256 header.s=mail header.b=i9Wzho3H;
	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=178.21.23.139; helo=layka.disroot.org; envelope-from=plorenzo@disroot.org; receiver=<UNKNOWN> 
Received: from layka.disroot.org (layka.disroot.org [178.21.23.139])
	by email.devuan.org (Postfix) with ESMTPS id AF519173
	for <882@bugs.devuan.org>; Wed,  2 Apr 2025 12:12:17 +0000 (UTC)
Received: from mail01.disroot.lan (localhost [127.0.0.1])
	by disroot.org (Postfix) with ESMTP id 6E74225C6F;
	Wed,  2 Apr 2025 14:12:16 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from layka.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP
 id zH_eVl96wV7d; Wed,  2 Apr 2025 14:12:15 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
	t=1743595935; bh=QBROmkOADP44fVHNF3PRv0NRbvnRbi8VkmRU6bA33DU=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=i9Wzho3HQPOTPUsPOMoYRzbvA5fN7hmZajm/RBFaIws3WZ2L866dsBbz/4bhahGUV
	 jX3ftigL6yW7Wgtd0ydMs92XLB+DCfgqdjK0WimZ21Y9J/4lRxjpOHfeU3yLDVoTKK
	 Z4YjvJZVn5d4Ww35ip4+83Q+7H1N7NgoTbVf8WaGF45oluZWWxVHub2H2hF5Bh7xh+
	 brk3vYtJB16Yo8jktf6D0Mo8S0hYC1jXhW8+qYOwLKStVq8WrehMFhBZYgvmpbUSS4
	 40EzNVK3uu9I/kAwDHw7lnnkWA3j0G0Qm9khBH9qBUiirJtiV85c3LJXHRkjAl34kB
	 Pf3sZABi7E3bg==
Date: Wed, 2 Apr 2025 14:12:08 +0200
From: Lorenzo <plorenzo@disroot.org>
To: Opty <opty77@gmail.com>
Cc: 882@bugs.devuan.org, devuan developers internal list
 <devuan-dev@lists.dyne.org>, Mark Hindley <mark@hindley.org.uk>
Subject: Re: [devuan-dev] bug#882: /etc/logrotate.d/lighttpd: Questionable
 use of invoke-rc.d
Message-ID: <20250402141208.2942da15@lorenz.fritz.box>
In-Reply-To: <CAERDJOHUES6YsTpgN_fEp8K6mf4oXbMrsZqN0MPsHs+bU5BawA@mail.gmail.com>
References: <CAERDJOE5eNxeErD=xLsVPWN5jfodbn06BYHXz5QiCcdz3jmxnQ@mail.gmail.com>
	<Z-wWIAMSDJ_2wbuI@hindley.org.uk>
	<CAERDJOE5eNxeErD=xLsVPWN5jfodbn06BYHXz5QiCcdz3jmxnQ@mail.gmail.com>
	<CAERDJOHUES6YsTpgN_fEp8K6mf4oXbMrsZqN0MPsHs+bU5BawA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Wed, 2 Apr 2025 13:56:10 +0200
Opty <opty77@gmail.com> wrote:

> On Tue, Apr 1, 2025 at 6:36 PM Mark Hindley <mark@hindley.org.uk>
> wrote:
> > However, I am sure that lighttpd isn't forked in Devuan and so this
> > should be reported directly to Debian's BTS.
> 
> Now that Debian uses systemd by default I considered Devuan a better
> place for System V style init stuff but I will think about reporting
> to Debian BTS then.

Please don't: while this may solve your use case it will break other
more common use cases that are currently working.
Example:
lighttpd installed but disabled by the local admin (K links) but if
service wrapper is used instead of invoke-rc.d the logrotate snippet
will try to signal lighttpd regardless, which should not happen.

on a side note, runit is currently using invoke-rc.d to forward
logrotate actions to runit services, so your change would break that too

Regards,
Lorenzo

> 
> Regards,
> Opty
> _______________________________________________
> devuan-dev internal mailing list
> devuan-dev@lists.dyne.org
> Manage your subscription:
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev
> Archive: https://lists.dyne.org/lurker/list/devuan-dev.en.html


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Apr 4 15:12:52 2025;