GNU bug report logs - #64562
Rotated logs have different permissions from logs that have not yet been rotated

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Mon, 10 Jul 2023 18:32:02 UTC

Severity: important

Tags: security

Merged with 57701

To reply to this bug, email your comments to 64562 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-guix <at> gnu.org:
bug#64562; Package guix. (Mon, 10 Jul 2023 18:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 10 Jul 2023 18:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Rotated logs have different permissions from logs that have not yet
 been rotated
Date: Mon, 10 Jul 2023 14:31:15 -0400
I noticed this inconsistency:

------
$ ls -l /var/log/messages*
-rw-r----- 1 root root 112994 Jul 10 14:29 /var/log/messages
-rw-r--r-- 1 root root   8883 Jul  5 12:00 /var/log/messages.1.gz
------

This seems like a mistake.




Added tag(s) security. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 06 Sep 2024 12:21:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#64562; Package guix. (Fri, 06 Sep 2024 22:44:01 GMT) Full text and rfc822 format available.

Message #10 received at 64562 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 64562 <at> debbugs.gnu.org
Subject: Re: bug#64562: Rotated logs have different permissions from logs
 that have not yet been rotated
Date: Sat, 07 Sep 2024 00:17:19 +0200
Hi,

Leo Famulari <leo <at> famulari.name> skribis:

> I noticed this inconsistency:
>
> ------
> $ ls -l /var/log/messages*
> -rw-r----- 1 root root 112994 Jul 10 14:29 /var/log/messages
> -rw-r--r-- 1 root root   8883 Jul  5 12:00 /var/log/messages.1.gz
> ------
>
> This seems like a mistake.

Definitely.  Rottlog being what it is, few people are willing to hack on
it.

Good news is that the upcoming Shepherd 1.0 has a ‘log-rotation’ that
doesn’t have this particular bug and is hopefully more hackable:

  https://lists.gnu.org/archive/html/guix-devel/2024-05/msg00159.html

Ludo’.




Severity set to 'important' from 'normal' Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 12 Nov 2024 13:02:02 GMT) Full text and rfc822 format available.

Merged 57701 64562. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 12 Nov 2024 13:03:02 GMT) Full text and rfc822 format available.

This bug report was last modified 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.