Devuan bug report logs - #884
/etc/logrotate.d/ulogd2: 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:50:15 UTC

Severity: normal

Tags: debian, moreinfo

Merged with 881, 882, 883

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-dev@lists.dyne.org:
bug#884; Package ulogd2. (Tue, 01 Apr 2025 12:50:15 GMT) (full text, mbox, link).


Acknowledgement sent to Opty <opty77@gmail.com>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Tue, 01 Apr 2025 12:50:16 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: /etc/logrotate.d/ulogd2: Questionable use of invoke-rc.d
Date: Tue, 1 Apr 2025 14:47:49 +0200
Package: ulogd2
Version: 2.0.8-1

/etc/logrotate.d/ulogd2 uses invoke-rc.d to notify ulogd2 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-dev@lists.dyne.org:
bug#884; Package ulogd2. (Tue, 01 Apr 2025 16:46:16 GMT) (full text, mbox, link).


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

From: Mark Hindley <mark@hindley.org.uk>
To: Opty <opty77@gmail.com>, 884@bugs.devuan.org
Subject: Re: bug#884: /etc/logrotate.d/ulogd2: Questionable use of invoke-rc.d
Date: Tue, 1 Apr 2025 17:44:39 +0100
Control: tags -1 debian

Opty,

On Tue, Apr 01, 2025 at 02:47:49PM +0200, Opty wrote:
> Package: ulogd2
> Version: 2.0.8-1
> 
> /etc/logrotate.d/ulogd2 uses invoke-rc.d to notify ulogd2 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. Also, if you have prevented services from starting int he
first place, there is no need to rotate the logs later. Why do you have
policy-rcd-declarative-deny-all installed? What is your intention in doing that?
                                                                                                                                                           
However, I am sure that ulogd2 isn't forked in Devuan and so this should be
reported directly to Debian's BTS if you really think there is an issue.

Mark
                                              

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


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#884; Package ulogd2. (Wed, 02 Apr 2025 12:02:01 GMT) (full text, mbox, link).


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


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

From: Opty <opty77@gmail.com>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 884@bugs.devuan.org
Subject: Re: bug#884: /etc/logrotate.d/ulogd2: Questionable use of invoke-rc.d
Date: Wed, 2 Apr 2025 14:00:35 +0200
On Tue, Apr 1, 2025 at 6:44 PM Mark Hindley <mark@hindley.org.uk> wrote:
> 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. Also, if you have prevented services from starting int he
> first place, there is no need to rotate the logs later. Why do you have
> policy-rcd-declarative-deny-all installed? What is your intention in doing that?

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

> However, I am sure that ulogd2 isn't forked in Devuan and so this should be
> reported directly to Debian's BTS if you really think there is an issue.

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.

Regards,
Opty

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#884; Package ulogd2. (Wed, 02 Apr 2025 16:14:05 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-dev@lists.dyne.org. (Wed, 02 Apr 2025 16:14:06 GMT) (full text, mbox, link).


Message #20 received at 884@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 'ulogd2' 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 2.0.8-1. 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) moreinfo. 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 13:12:18 2025;