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 #8 received at 882@bugs.devuan.org (full text, mbox, reply):

Received: (at 882) by bugs.devuan.org; 1 Apr 2025 16:37:39 +0000
Return-Path: <mark@hindley.org.uk>
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); Tue, 01 Apr 2025 16:37:38 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id pmlFLyIW7GeZRgAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Tue, 01 Apr 2025 16:36:50 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 8F9E85A0; Tue,  1 Apr 2025 16:36:50 +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; envelope-from=mark@hindley.org.uk; 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 EBCB33AD
	for <882@bugs.devuan.org>; Tue,  1 Apr 2025 16:36:49 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 2DFE7130;
	Tue,  1 Apr 2025 17:36:49 +0100 (BST)
Received: (nullmailer pid 11845 invoked by uid 1000);
	Tue, 01 Apr 2025 16:36:48 -0000
Date: Tue, 1 Apr 2025 17:36:48 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Opty <opty77@gmail.com>, 882@bugs.devuan.org
Subject: Re: bug#882: /etc/logrotate.d/lighttpd: Questionable use of
 invoke-rc.d
Message-ID: <Z-wWIAMSDJ_2wbuI@hindley.org.uk>
References: <CAERDJOE5eNxeErD=xLsVPWN5jfodbn06BYHXz5QiCcdz3jmxnQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAERDJOE5eNxeErD=xLsVPWN5jfodbn06BYHXz5QiCcdz3jmxnQ@mail.gmail.com>
X-Debbugs-No-Ack: No Thanks
Control: tags -1 debian

Opty,

On Tue, Apr 01, 2025 at 02:41:25PM +0200, Opty wrote:
> Package: lighttpd
> Version: 1.4.69-1
> 
> /etc/logrotate.d/lighttpd uses invoke-rc.d to notify lighttpd to
> reopen logs but it doesn't work when using
> policy-rcd-declarative-deny-all so shouldn't the logrotate
> configuration snippet use rather 'service' ?

Possibly, but I am not sure. Certainly all the other /etc/logrotate.d examples I
can find use invoke-rc.d. It may be to prevent rotation in chroots and the like
when it would fail.

However, I am sure that lighttpd isn't forked in Devuan and so this should be
reported directly to Debian's BTS.

Thanks

Mark

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:06:21 2025;