Devuan bug report logs - #883
/usr/lib/rsyslog/rsyslog-rotate: Questionable use of invoke-rc.d

Package: init-system-helpers; Reported by: Opty <[email protected]>; Keywords: moreinfo debian; merged with #881, #882, #884; dated Tue, 1 Apr 2025 12:46:09 UTC; Maintainer for init-system-helpers is Devuan Dev Team <[email protected]>.
Merged 881 882 883 884 Request was from mark <[email protected]> to [email protected]. Full text available.
Merged 881 882 883 Request was from mark <[email protected]> to [email protected]. Full text available.
Added tag(s) debian. Request was from mark <[email protected]> to [email protected]. Full text available.
Marked as found in versions init-system-helpers/1.65.2devuan1. Request was from mark <[email protected]> to [email protected]. Full text available.
No longer marked as found in versions rsyslog/8.2302.0-1+deb12u1devuan1. Request was from mark <[email protected]> to [email protected]. Full text available.
bug reassigned from package 'rsyslog' to 'init-system-helpers'. Request was from mark <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 883) by bugs.devuan.org; 2 Apr 2025 16:12:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 16:12:04 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id aHUfG5Nh7WeaJAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 02 Apr 2025 16:10:59 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 3279B395; Wed,  2 Apr 2025 16:10:58 +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; [email protected]; 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 94E6081;
	Wed,  2 Apr 2025 16:10:58 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id CD4E9EF;
	Wed,  2 Apr 2025 17:10:57 +0100 (BST)
Received: (nullmailer pid 2858 invoked by uid 1000);
	Wed, 02 Apr 2025 16:10:57 -0000
Date: Wed, 2 Apr 2025 17:10:57 +0100
From: Mark Hindley <[email protected]>
To: Opty <[email protected]>
Cc: [email protected], [email protected], [email protected]
Subject: Merge bugs
Message-ID: <[email protected]>
References: <CAERDJOGPwrRp+GZuUNPPT93++x6Md+uhN+bsNu-V9cBJ1oq-Rw@mail.gmail.com>
 <[email protected]>
 <CAERDJOFJ7CDBvBdUYtnZQwvdwX6MoctR1J9rjV0NHRua5seSuA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAERDJOFJ7CDBvBdUYtnZQwvdwX6MoctR1J9rjV0NHRua5seSuA@mail.gmail.com>

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

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <[email protected]>. Full text available.
Information forwarded to [email protected], Devuan Developers <[email protected]>:
bug#883; Package rsyslog. Full text available.

Message received at [email protected]:


Received: (at 883) by bugs.devuan.org; 2 Apr 2025 11:58:44 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 11:58:43 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id SNuwOmkm7Wf8FwAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 02 Apr 2025 11:58:33 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id D8710395; Wed,  2 Apr 2025 11:58:33 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.a=rsa-sha256 header.s=20230601 header.b=lUGhir3Z;
	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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:4860:4864:20::36; helo=mail-oa1-x36.google.com; [email protected]; receiver=<UNKNOWN> 
Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36])
	by email.devuan.org (Postfix) with ESMTPS id 12B3F81
	for <[email protected]>; Wed,  2 Apr 2025 11:58:33 +0000 (UTC)
Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-2c77ef933e5so557750fac.0
        for <[email protected]>; Wed, 02 Apr 2025 04:58:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1743595111; x=1744199911; darn=bugs.devuan.org;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to;
        bh=RevgEDcugZ0B/4mqGXYKYuGQ7gL/1sI35jAN4YE8aq4=;
        b=lUGhir3Z/L1edDsJZB5wh+JtX/sExbVLc/Tz/jWsYRf5VP1DkkpVsRNhLGefNBh3rA
         jyQbfN6Lyhb7WhRl2+eRJ+7w6ip2n/iVQenJkWBRxpr0IlkCt51hJINGlejNNjzJ9+kS
         MPF+rrim4hvdTw2/mww1t4xTkEFR6Mnb4B0CW5vcqBBveLnrHKEnqFtkfyEwPN0cfkaE
         dDyJyRQGsaUKjGWsyG6qIQFCf3EIuGoXKUNHU42IUKGF5yBCNDVSsJrUUmsjvir2KFHn
         22rjnau9sbAffbVqpR7ugW4sYURopmMzp/9FCX5PX58/ukcx7mBY42OC+VycsqIaQeLb
         HwHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1743595111; x=1744199911;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
         :subject:date:message-id:reply-to;
        bh=RevgEDcugZ0B/4mqGXYKYuGQ7gL/1sI35jAN4YE8aq4=;
        b=hFL5q/NpH46P/zAoxrymtnrOyupycu2JCJAjSu/i/D0hJjkHbiuVGmsT3jX/Zzxr/j
         CN4rangwDo5scOvNIW0bi0gqq7M/Ao9Z7SkQvrI+HSzkb2ScL2w56MdlzdXDosS47TEE
         1IG4ACcU7XUVofYNSp4r8trDYWdCoF09E+/eEexIZkEKOA9prWZmtiLMV/wrrM6gQ48x
         PT7AnPGjSg+bpKT8JVhi8PCjlEkDu3e3TWWgq1GrBz3SYKOAlVOnZtX6p6ssxNqZLOxw
         1nhbuShIpd0Et+5bzbZCmj0DvvfZWhkdnKDU6XaVDq0eIxxlhZnVQNDmDU3itVoKMRkm
         LA4A==
X-Gm-Message-State: AOJu0Ywk/y5PuA/EPiOmLDghKtsVR/mj3fk3QAs5nyZzNs1JwSgOKSCf
	4qFi5zZJaWRQop/g9pZRKYZdqbKWd8siUi5p3bFb1ST7aay7VW0ZLBGPa0JwF2WZY9DfDYwU1RV
	WUQ+9QhjJRvA55aewjBlMDwSDWuk=
X-Gm-Gg: ASbGnctbk8Ahfm2CogLZpwYU0eL890fb9rLUY5KVxTYhbxoD+FFSpJ4DWxTQfg+8sJb
	6nD/RsWxHRoa5ekm62vpCbzXEFbutstY4nenCtQ6AX8zEJr9PFlQKOd7EUXGTMKJuWScUuJdFTd
	PId1Y/pF1jDHodvlA4IOTNiPy1pSm1t3kjOOV1y6kq05Qx
X-Google-Smtp-Source: AGHT+IGBlMT4Gv+JjJfqyLWSAeR7tVMilUgF0EZTDk8icCmLn3L0kiaJeMmhg4bIsuwpX/LIJ8klUJlwaNV54G5bzSY=
X-Received: by 2002:a05:6808:1581:b0:3f4:210e:c0f2 with SMTP id
 5614622812f47-40026be4510mr1429540b6e.0.1743595110971; Wed, 02 Apr 2025
 04:58:30 -0700 (PDT)
MIME-Version: 1.0
References: <CAERDJOGPwrRp+GZuUNPPT93++x6Md+uhN+bsNu-V9cBJ1oq-Rw@mail.gmail.com>
 <[email protected]>
In-Reply-To: <[email protected]>
From: Opty <[email protected]>
Date: Wed, 2 Apr 2025 13:58:20 +0200
X-Gm-Features: AQ5f1JpBGk8QDne9c7hHGcDSNa-B0u87pUR0Iz-nhEDtH253Tkiijs7gZyl1kCs
Message-ID: <CAERDJOFJ7CDBvBdUYtnZQwvdwX6MoctR1J9rjV0NHRua5seSuA@mail.gmail.com>
Subject: Re: bug#883: /usr/lib/rsyslog/rsyslog-rotate: Questionable use of invoke-rc.d
To: Mark Hindley <[email protected]>
Cc: [email protected]
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 1, 2025 at 6:41=E2=80=AFPM Mark Hindley <[email protected]> w=
rote:
> Why do you have policy-rcd-declarative-deny-all installed anyway? I suppo=
se 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

Acknowledgement sent to Opty <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <[email protected]>. Full text available.
Information forwarded to [email protected], Devuan Developers <[email protected]>:
bug#883; Package rsyslog. Full text available.
Added tag(s) moreinfo. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 883) by bugs.devuan.org; 1 Apr 2025 16:42:10 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 <[email protected]>)
	for <[email protected]>; 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; [email protected]; 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 <[email protected]>; 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 <[email protected]>
To: Opty <[email protected]>, [email protected]
Subject: Re: bug#883: /usr/lib/rsyslog/rsyslog-rotate: Questionable use of
 invoke-rc.d
Message-ID: <[email protected]>
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

Information forwarded to [email protected], Devuan Developers <[email protected]>:
bug#883; Package rsyslog. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 1 Apr 2025 12:45:18 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 12:45:18 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id YKN0AMzf62fuJQAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Tue, 01 Apr 2025 12:45:00 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id DE0465A0; Tue,  1 Apr 2025 12:44:59 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.a=rsa-sha256 header.s=20230601 header.b=CKopFHIO;
	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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:4860:4864:20::29; helo=mail-oa1-x29.google.com; [email protected]; receiver=<UNKNOWN> 
Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29])
	by email.devuan.org (Postfix) with ESMTPS id 2BBE33AD
	for <[email protected]>; Tue,  1 Apr 2025 12:44:59 +0000 (UTC)
Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-2c7ee8295dcso403564fac.3
        for <[email protected]>; Tue, 01 Apr 2025 05:44:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1743511496; x=1744116296; darn=bugs.devuan.org;
        h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
         :date:message-id:reply-to;
        bh=uQY1wfeodyvojTp/kU2qh7KG93C8ZyY07R8kNC6VBI8=;
        b=CKopFHIOwW6Z3bD94XMNxCfpJfTVhjXE5G6S++dNcpzNty6Dwz16+Co9qXo7OYpWGo
         Sd33OyG+9zswXv40NWfr1cNNpfhMa68embdo9PXguNUqBAhokHUanlP+1vionY/aZQrv
         ng1DwwS2DyqROixCEs9GQQAWLLeIcLFj37Oj95VcOT1DAzbs9Dm5orE9CLwI20AE46+E
         4Rh1sIs/29unscvOQaqRKhd3clZMD3ZKQMmuaV+6t4FhlZOrlQr3LAdAfdf4YDwAS0I/
         cLhmB+KZyh4uF2PwqJgHRxN2xL7TRrs9OX3vA3EyYVrC3pwUJZhc71jVOWbq69i6+rxX
         tQMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1743511496; x=1744116296;
        h=to:subject:message-id:date:from:mime-version:x-gm-message-state
         :from:to:cc:subject:date:message-id:reply-to;
        bh=uQY1wfeodyvojTp/kU2qh7KG93C8ZyY07R8kNC6VBI8=;
        b=NNyaPZgPoi3p6rzMz8QqW0i7Q1ahqEb39gfZOHgx3OoQyfeSjjnK6cClz0CaryFplc
         v/KyXVhtEjdkejXPDSZZEmsZoaXczodt44H/bD30Tjw5T8c8m2Y07v4W+t5XJr8CmBMF
         MpP+Js0E5GhSrzN5wU8NDMlGn6pGsY1efj9Y22M4WES1Ong7nEotaFxW4uFKUccLrRNc
         EFAJOs+Jb1H2CueN5PP9rMsujgun5byOKx/Xr4NTdpb1BLXeqj3hL8Ifn9J5Vi9ssVi2
         ADFyfl+zWm0vKJEpBKRBSkdjftXseVGqkrwB0c9pNUxw2Jz+n7hvrpYriam4Vf6wIa1f
         OQNA==
X-Gm-Message-State: AOJu0Yz6pR8kU5bV1dyPxX/wRwfmO6h20DIWTsVzpi4ueXiwgPYQKvLF
	OaZbt5NQPJjjJ3ihUUF8TZGWg8tH+fESvjJFVJsQ9OWM+pB9aG7EqQyB1Rpd2yBB9WBbmKfZwtt
	sC/OcBGR44g2I/BR+utV6lvANFtgUdrx7
X-Gm-Gg: ASbGncs6ugBKmAuElRjfu79QRKDrc4CL4I+KiN1B+CyWbpar4raPpycq0JqbDHaxbjz
	xR336taxxy4ab+mvoQJzWwB/CNUGai2UvVTW9gBK35LQ5YxdYE9PzwPyB5wwAUdY3HqBBtucOCN
	4lS6j6lAR1fIJ6DkFvfx1yYmIMy4I3lD0CUQ==
X-Google-Smtp-Source: AGHT+IFfy+uM2q1bZ9eecWGY4Y3nknRrcftSvU5a1JGU4TVQ5RRtnQzEjS5Dr11fCZ0pn5X5gvzd22pVQkGGA6Z3esU=
X-Received: by 2002:a05:6808:1387:b0:3f4:af5:1d83 with SMTP id
 5614622812f47-40029e36b5emr568377b6e.3.1743511496105; Tue, 01 Apr 2025
 05:44:56 -0700 (PDT)
MIME-Version: 1.0
From: Opty <[email protected]>
Date: Tue, 1 Apr 2025 14:44:45 +0200
X-Gm-Features: AQ5f1Jr4TsFt0X37pqNif_pn5Jw0qRUB74fUoLreZsLjL8NbA6P6nNSCff9qpwk
Message-ID: <CAERDJOGPwrRp+GZuUNPPT93++x6Md+uhN+bsNu-V9cBJ1oq-Rw@mail.gmail.com>
Subject: /usr/lib/rsyslog/rsyslog-rotate: Questionable use of invoke-rc.d
To: [email protected]
Content-Type: text/plain; charset="UTF-8"

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

Acknowledgement sent to Opty <[email protected]>:
New bug report received and forwarded. Copy sent to Devuan Developers <[email protected]>. Full text available.
Report forwarded to [email protected], Devuan Developers <[email protected]>:
bug#883; Package rsyslog. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Fri, 4 Apr 2025 22:39:02 UTC