GNU bug report logs

#64562 Rotated logs have different permissions from logs that have not yet been rotated

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#64562; Package guix. (Mon, 10 Jul 2023 18:32:02 GMT) (full text, mbox, link).


Acknowledgement sent to Leo Famulari <leo@famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Mon, 10 Jul 2023 18:32:02 GMT) (full text, mbox, link).


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

From: Leo Famulari <leo@famulari.name>
To: bug-guix@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@gnu.org> to control@debbugs.gnu.org. (Fri, 06 Sep 2024 12:21:01 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#64562; Package guix. (Fri, 06 Sep 2024 22:44:01 GMT) (full text, mbox, link).


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

From: Ludovic Courtès <ludo@gnu.org>
To: Leo Famulari <leo@famulari.name>
Cc: 64562@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@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@gmail.com> to control@debbugs.gnu.org. (Tue, 12 Nov 2024 13:02:02 GMT) (full text, mbox, link).


Merged 57701 64562. Request was from Maxim Cournoyer <maxim.cournoyer@gmail.com> to control@debbugs.gnu.org. (Tue, 12 Nov 2024 13:03:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Mar 24 10:49:03 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU 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.