Debian Bug report logs - #1031399
document log rotation on non-default inits

version graph

Package: rsyslog; Maintainer for rsyslog is Michael Biebl <[email protected]>; Source for rsyslog is src:rsyslog (PTS, buildd, popcon).

Reported by: Matthew Vernon <[email protected]>

Date: Thu, 16 Feb 2023 14:45:02 UTC

Severity: wishlist

Found in version rsyslog/8.2212.0-1

Full log


Message #12 received at [email protected] (full text, mbox, reply):

Received: (at 1031399) by bugs.debian.org; 16 Feb 2023 20:43:59 +0000
From [email protected] Thu Feb 16 20:43:59 2023
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-112.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	HAS_BUG_NUMBER,NICE_REPLY_A,PGPSIGNATURE,SHIP_ID_INT,SPF_HELO_NONE,
	SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
	USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 150; neutral, 41; spammy,
	0. spammytokens: hammytokens:0.000-+--H*ct:pgp-sha256,
	0.000-+--H*F:U*biebl, 0.000-+--H*rp:U*biebl,
	0.000-+--Hx-spam-relays-external:sk:biebl@d,
	0.000-+--Hx-spam-relays-external:sk:stravin
Return-path: <[email protected]>
Received: from stravinsky.debian.org ([82.195.75.108]:39834)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=stravinsky.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1pSl6l-00EXgL-P1
	for [email protected]; Thu, 16 Feb 2023 20:43:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:In-Reply-To:From:
	References:To:Subject:MIME-Version:Date:Message-ID:Reply-To:Cc:
	Content-Transfer-Encoding:Content-ID:Content-Description;
	bh=9ljGVmqEgyeKOZW3p3Vzy+N9FTkWyf56XUcRnp7ConQ=; b=c6Ak1TgEUJ1unJoz1Cl14CsumX
	UasXPTeEBDJvLSrpix5xdbMCu6Bi0BqxsCOZlVVVApKjgLgOQ50KeYcs1cB1O47JLMoQ2NnWy6zBG
	WaV5jC8BJlRnojVCBOsqetAuwpXDSC1jSdMdJrQdSp7iZSTFiJ8IDQnVLF3h8p4PCvZDWJu3u4efg
	FuJNBFeGLOVTNI1EwVJ0FGfT6jUo9XOXfRUH+XTL3hxpRGP8Zm+rEuhwO2y/PrhAMjQU7NlQ2vN/h
	Fe3CpF+eQY/dG6k33NrtHoYporTxaqfUddT5BkpoOhHT5ifV587D1zLXYcFd6kSHp+iubvDe3VAWG
	Qo8Xzxhg==;
Received: from authenticated user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1pSl6j-003bZC-Ol; Thu, 16 Feb 2023 20:43:57 +0000
Message-ID: <[email protected]>
Date: Thu, 16 Feb 2023 21:43:55 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.7.2
Subject: Re: Bug#1031399: rsyslog: Log rotation broken on non-systemd systems
Content-Language: en-US
To: Matthew Vernon <[email protected]>, [email protected]
References: <167655846832.2380.12348281689182357658.reportbug@aragorn.weathertop.principate.org.uk>
From: Michael Biebl <[email protected]>
In-Reply-To: <167655846832.2380.12348281689182357658.reportbug@aragorn.weathertop.principate.org.uk>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------lT7TFF5HlTEh8FZ9zvye6QHp"
X-Debian-User: biebl
[Message part 1 (text/plain, inline)]
Control: severity -1 wishlist
Control: retitle -1 document log rotation on non-default inits

Am 16.02.23 um 15:41 schrieb Matthew Vernon:
> Package: rsyslog
> Version: 8.2212.0-1
> Severity: serious
> 
> Hi,
> 
> When removing the systemv init scripts from rsyslog (which can be
> managed by orphan-sysvinit-scripts), the following was also removed from
> /usr/lib/rsyslog/rsyslog-rotate:
> 
> else
>      invoke-rc.d rsyslog rotate > /dev/null
> 
> This means on non-systemd systems logrotate tries but fails to tell
> rsyslog to rotate its logs.
> 
> Could you restore this, please? 

I don't plan to re-add this (btw, this would break if 
orphan-sysvinit-scripts is not installed).

I'll add a note to README.Debian to the logrotate section though, what 
users of non-default inits need to consider.

Michael
[OpenPGP_signature (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 18:21:22 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.