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

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#883; Package rsyslog. (Tue, 01 Apr 2025 12:46:14 GMT) (full text, mbox, link).


Acknowledgement sent to Opty <opty77@gmail.com>:
New bug report received and forwarded. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. (Tue, 01 Apr 2025 12:46:15 GMT) (full text, mbox, link).


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

From: Opty <opty77@gmail.com>
To: submit@bugs.devuan.org
Subject: /usr/lib/rsyslog/rsyslog-rotate: Questionable use of invoke-rc.d
Date: Tue, 1 Apr 2025 14:44:45 +0200
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' ?

Regards,
Opty

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#883; Package rsyslog. (Tue, 01 Apr 2025 16:44:01 GMT) (full text, mbox, link).


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

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
Date: Tue, 1 Apr 2025 17:41:16 +0100
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

Added tag(s) moreinfo. Request was from Mark Hindley <mark@hindley.org.uk> to 883-submit@bugs.devuan.org. (Tue, 01 Apr 2025 16:44:03 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#883; Package rsyslog. (Wed, 02 Apr 2025 12:00:01 GMT) (full text, mbox, link).


Acknowledgement sent to Opty <opty77@gmail.com>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. (Wed, 02 Apr 2025 12:00:02 GMT) (full text, mbox, link).


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

From: Opty <opty77@gmail.com>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 883@bugs.devuan.org
Subject: Re: bug#883: /usr/lib/rsyslog/rsyslog-rotate: Questionable use of invoke-rc.d
Date: Wed, 2 Apr 2025 13:58:20 +0200
On Tue, Apr 1, 2025 at 6:41 PM Mark Hindley <mark@hindley.org.uk> wrote:
> 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.

Please see #881 or should I copy the story here as well?

Regards,
Opty

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#883; Package rsyslog. (Wed, 02 Apr 2025 16:14:03 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. (Wed, 02 Apr 2025 16:14:04 GMT) (full text, mbox, link).


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

From: Mark Hindley <mark@hindley.org.uk>
To: Opty <opty77@gmail.com>
Cc: 883@bugs.devuan.org, 882@bugs.devuan.org, 884@bugs.devuan.org
Subject: Merge bugs
Date: Wed, 2 Apr 2025 17:10:57 +0100
Control: forcemerge 881 -1

On Wed, Apr 02, 2025 at 01:58:20PM +0200, Opty wrote:
> Please see #881 or should I copy the story here as well?

No. Really these are all the same issue. I will merge them for now while we look
at the detail.

Mark

bug reassigned from package 'rsyslog' to 'init-system-helpers'. Request was from mark <mark@hindley.org.uk> to control@bugs.devuan.org. (Wed, 02 Apr 2025 16:40:02 GMT) (full text, mbox, link).


No longer marked as found in versions rsyslog/8.2302.0-1+deb12u1devuan1. Request was from mark <mark@hindley.org.uk> to control@bugs.devuan.org. (Wed, 02 Apr 2025 16:40:02 GMT) (full text, mbox, link).


Marked as found in versions init-system-helpers/1.65.2devuan1. Request was from mark <mark@hindley.org.uk> to control@bugs.devuan.org. (Wed, 02 Apr 2025 16:40:02 GMT) (full text, mbox, link).


Added tag(s) debian. Request was from mark <mark@hindley.org.uk> to control@bugs.devuan.org. (Wed, 02 Apr 2025 16:40:02 GMT) (full text, mbox, link).


Merged 881 882 883 Request was from mark <mark@hindley.org.uk> to control@bugs.devuan.org. (Wed, 02 Apr 2025 16:40:02 GMT) (full text, mbox, link).


Merged 881 882 883 884 Request was from mark <mark@hindley.org.uk> to control@bugs.devuan.org. (Wed, 02 Apr 2025 16:40:02 GMT) (full text, mbox, link).


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 08:57:49 2025;