Debian Bug report logs - #1014659
logrotate: error: state file /var/lib/logrotate/status is world-readable

version graph

Package: logrotate; Maintainer for logrotate is Christian Göttsche <[email protected]>; Source for logrotate is src:logrotate (PTS, buildd, popcon).

Reported by: Holger Levsen <[email protected]>

Date: Sat, 9 Jul 2022 23:45:02 UTC

Severity: normal

Tags: bullseye, confirmed

Merged with 1014732

Found in version logrotate/3.18.0-2+deb11u1

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1014659: logrotate: error: state file /var/lib/logrotate/status is world-readable
Reply-To: Roman Mamedov <[email protected]>, [email protected]
Resent-From: Roman Mamedov <[email protected]>
Resent-To: [email protected]
Resent-CC: Christian Göttsche <[email protected]>
X-Loop: [email protected]
Resent-Date: Sun, 10 Jul 2022 11:24:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 1014659
X-Debian-PR-Package: logrotate
X-Debian-PR-Keywords: 
References: <165740958417.246089.5257463872740482158.reportbug@localhost>
X-Debian-PR-Source: logrotate
Received: via spool by [email protected] id=B1014659.16574520644942
          (code B ref 1014659); Sun, 10 Jul 2022 11:24:02 +0000
Received: (at 1014659) by bugs.debian.org; 10 Jul 2022 11:21:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-13.5 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	SHIP_ID_INT,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE
	autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 103; neutral, 44; spammy, 0.
	spammytokens: hammytokens:0.000-+--rw-r, 0.000-+--drwxrxrx,
	0.000-+--drwxr-xr-x, 0.000-+--Hx-spam-relays-external:1000,
	0.000-+--logrotate
Received: from rin.romanrm.net ([2001:bc8:2dd2:1000::1]:54674)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1oAUzn-0001Gg-9t
	for [email protected]; Sun, 10 Jul 2022 11:21:04 +0000
Received: from nvm (nvm2.home.romanrm.net [IPv6:fd39::4a:3cff:fe57:d6b5])
	by rin.romanrm.net (Postfix) with SMTP id 5231C1D7
	for <[email protected]>; Sun, 10 Jul 2022 11:15:37 +0000 (UTC)
Date: Sun, 10 Jul 2022 16:15:36 +0500
From: Roman Mamedov <[email protected]>
To: [email protected]
Message-ID: <20220710161536.2a8edb4d@nvm>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Greylist: delayed 322 seconds by postgrey-1.36 at buxtehude; Sun, 10 Jul 2022 11:21:02 UTC
Hello,

Here is the permission layout after the "error" message has been issued. I did
not check what it was before. I'm not sure if this means I will not get
another "error" tomorrow. On another host, I did "chmod o-rx" on the logrotate
directory, thinking maybe it wants that. Not sure yet if that helped either.

# ls -la /var/lib/logrotate/
total 12
drwxr-xr-x  2 root root 4096 Jul 10 06:32 .
drwxr-xr-x 29 root root 4096 Jun 22 13:44 ..
-rw-r-----  1 root root  782 Jul 10 06:32 status

-- 
With respect,
Roman

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:13:17 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.