GNU bug report logs - #74082
guix-home: inconsistencies in log-files of shepherd services

Previous Next

Package: guix;

Reported by: Dariqq <dariqq <at> posteo.net>

Date: Tue, 29 Oct 2024 09:19:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#74082: closed (guix-home: inconsistencies in log-files of
 shepherd services)
Date: Wed, 20 Nov 2024 21:59:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 20 Nov 2024 22:58:33 +0100
with message-id <87o729va7q.fsf <at> gnu.org>
and subject line Re: bug#74082: guix-home: inconsistencies in log-files of shepherd services
has caused the debbugs.gnu.org bug report #74082,
regarding guix-home: inconsistencies in log-files of shepherd services
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
74082: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74082
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dariqq <dariqq <at> posteo.net>
To: bug-guix <at> gnu.org
Subject: guix-home: inconsistencies in log-files of shepherd services
Date: Tue, 29 Oct 2024 09:18:22 +0000
Hi,

There seems to be an inconsistency with the log-files created by home 
shepherd service

- The main shepherd and some other services (dbus, batsignal, unclutter) 
 use .local/state/log/   (resp. $LOCAL_STATE_HOME/log)

- Many other services (kodi, znc, parcimonie, ssh-agent) use the 
shepherd-variable %user-log-dir (from (shepherd support))
which is .local/state/shepherd (resp. $LOCAL_STATE_HOME/shepherd)

which is certainly confusing.

In particular this overrides the default shepherd log file in 
$LOCAL_STATE_HOME/shepherd.

Some consistency would be nice here.

If guix wants to deviate from the shepherd defaults (should the defaults 
be changed instead?, not sure if there is a standard location for user 
level logs) it should probably export this somewhere such that all 
services can easily reuse it.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: Dariqq <dariqq <at> posteo.net>, paren <at> disroot.org,
 Tanguy Le Carrour <tanguy <at> bioneland.org>, 74082-done <at> debbugs.gnu.org,
 Andrew Tropin <andrew <at> trop.in>
Subject: Re: bug#74082: guix-home: inconsistencies in log-files of shepherd
 services
Date: Wed, 20 Nov 2024 22:58:33 +0100
Nicolas Graves <ngraves <at> ngraves.fr> skribis:

> On 2024-11-11 00:29, Ludovic Courtès wrote:
>>
>> Nicolas, can you confirm that this is what you had in mind?
>>
>> At first sight it LGTM.
>
> Sorry for the late answer, this is indeed what I had in mind.  Untested
> on my side, but LGTM too.

Alright.  Applied, thanks, Dariqq!


This bug report was last modified 245 days ago.

Previous Next


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