Devuan bug report logs - #883
/usr/lib/rsyslog/rsyslog-rotate: 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:46:09 UTC

Severity: normal

Tags: debian, moreinfo

Merged with 881, 882, 884

Found in version init-system-helpers/1.65.2devuan1

Done: Mark Hindley <mark@hindley.org.uk>

Full log


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

Received: (at 883) by bugs.devuan.org; 1 Apr 2025 16:42:10 +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:42:10 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id XzfaHy4X7GfcRgAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Tue, 01 Apr 2025 16:41:18 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 6356F5A0; Tue,  1 Apr 2025 16:41:18 +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 D692D3AD
	for <883@bugs.devuan.org>; Tue,  1 Apr 2025 16:41:17 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 26C02130;
	Tue,  1 Apr 2025 17:41:17 +0100 (BST)
Received: (nullmailer pid 13012 invoked by uid 1000);
	Tue, 01 Apr 2025 16:41:16 -0000
Date: Tue, 1 Apr 2025 17:41:16 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Opty <opty77@gmail.com>, 883@bugs.devuan.org
Subject: Re: bug#883: /usr/lib/rsyslog/rsyslog-rotate: Questionable use of
 invoke-rc.d
Message-ID: <Z-wXLBf9MWjF--ku@hindley.org.uk>
References: <CAERDJOGPwrRp+GZuUNPPT93++x6Md+uhN+bsNu-V9cBJ1oq-Rw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAERDJOGPwrRp+GZuUNPPT93++x6Md+uhN+bsNu-V9cBJ1oq-Rw@mail.gmail.com>
X-Debbugs-No-Ack: No Thanks
Control: tags -1 moreinfo

On Tue, Apr 01, 2025 at 02:44:45PM +0200, Opty wrote:
> Package: rsyslog
> Version: 8.2302.0-1+deb12u1devuan1
> 
> /usr/lib/rsyslog/rsyslog-rotate uses invoke-rc.d to notify rsyslog 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, although all the other logrotate fragments I can find use invoke-rc.d.

Why do you have policy-rcd-declarative-deny-all installed anyway? I suppose the
rationale goes that if you deny starting services in the first place, you don't
need to rotate the logs because they will be empty/unchanged.

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: Thu Apr 10 10:14:41 2025;