From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WHxMAhJCMWe+yQAAe85BDQ:P1 (envelope-from ) for ; Sun, 10 Nov 2024 23:30:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WHxMAhJCMWe+yQAAe85BDQ (envelope-from ) for ; Mon, 11 Nov 2024 00:30:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qtg2J7rz; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=H0j0f+g2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731281425; a=rsa-sha256; cv=none; b=UiScJok9nA4fHzr4L1l/WSsSIfYjYBmrdXosKDe3fffHzN3o7ewjPFpt17LdPCDiGK4RUQ zZj/MHwIeuoRzFywvMJp/qvpuIVjPnft7pG6p/ciIjSTM0UKC2GyMTxB8D8KHU3Gd46YZV 2fw1HME97do1sfNSJppNtJ0cXmQ9pXoH1rjCowAjFSdizrhIB+XaNg7b/8rtC0QQ4beUBt 2GXmWjzDMPK/PR3jBXleF9sKW3zFAkpK5VGWD2uuuY1G/dG68jTjDCMu2mnOuMmApObmet 5tz9Ot9Y5j7OhdXV+W4NGoREvwdl3G9Dck5kZxDpchzXnFRT0cWWY+Qwnb7SRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qtg2J7rz; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=H0j0f+g2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731281425; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=50O94/V/2rffgkJH9wzzgCx6PPzY2m816S4JFPSjwPA=; b=KSOioaa8UEu/xDUgrUZgll0J8w10K1voymZV7fmQEh9CTDBAhXUu5X0zAYv5y2FTTYopAB Mu/Hy5T5gLOCAWKDWIZL9Ekpm9adZgirY/ylZQlSofpfWqW5XtOR4GqGI/6kruCbvS5Kh/ 23ApswjmGlrgMdJXRjVaT6/dmFYDUKjZx/1xH8bjxN3cbFkz6OCSlfxZeCX6BuAnUDIjgQ jDdIqPks7JVfNsSZ6ePGmY4w72w7RNXYQ3GLTOa6o1gbWQRXlyvIVoPcBrMq8JEcymyZpv cG6GSmNcMwyjs+RLXxNYP03Z/k8oObWkHXnI6PfjJKIL7bIA3lcVS+QIpveOSg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB2C58D430 for ; Mon, 11 Nov 2024 00:30:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAHNe-0007az-0d; Sun, 10 Nov 2024 18:30:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAHNb-0007Z2-SQ for bug-guix@gnu.org; Sun, 10 Nov 2024 18:30:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAHNb-0006i6-GX for bug-guix@gnu.org; Sun, 10 Nov 2024 18:30:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=50O94/V/2rffgkJH9wzzgCx6PPzY2m816S4JFPSjwPA=; b=qtg2J7rzq1lUt7ZLGRTl8eQB9yH/PRUmOavA3zXVwJ/X1KKEe5rFmGzWuPjq1Q5Db1+OvfspbpMiAtk9veZFaKeM55QjosU2T7JLbl839LQl4yElhyjcQwakdXAmkzQy5wAgbaw0gdjflQWcxNzPecjvFxjSs+tBcTP3biB2UWK8Y/EgiUbdj82szOAUl59b0jFfIaMRWIncN6rwvUrWoaVM4hetdNor4x5q1bYnhGBwMQHBfbgBBW+AL9CflFCqSPvJ5APP8D/4wqLv9lyl081uSZ+RYXxANl+whyZlockylCrnPH/HRBN3VL30WyleV5UT+fiqDxUNvhxs0hPpUg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAHNb-0003bE-BN for bug-guix@gnu.org; Sun, 10 Nov 2024 18:30:03 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74082: guix-home: inconsistencies in log-files of shepherd services Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 10 Nov 2024 23:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74082 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Dariqq , ngraves@ngraves.fr Cc: paren@disroot.org, Tanguy Le Carrour , 74082@debbugs.gnu.org, Andrew Tropin Received: via spool by 74082-submit@debbugs.gnu.org id=B74082.173128139013777 (code B ref 74082); Sun, 10 Nov 2024 23:30:03 +0000 Received: (at 74082) by debbugs.gnu.org; 10 Nov 2024 23:29:50 +0000 Received: from localhost ([127.0.0.1]:57017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAHNO-0003a9-2y for submit@debbugs.gnu.org; Sun, 10 Nov 2024 18:29:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAHNL-0003Zn-1s for 74082@debbugs.gnu.org; Sun, 10 Nov 2024 18:29:48 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAHNE-0006bN-0O; Sun, 10 Nov 2024 18:29:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=50O94/V/2rffgkJH9wzzgCx6PPzY2m816S4JFPSjwPA=; b=H0j0f+g2NUbgLGYlHoyJ ce53Jko5K7jB+1ppPSzWANvVu1gB2bcBaOZ+mZdFUuutcJHi9fFR0dbATSr8X7qG0bgEDfhcCW2ja gNHnYe/wMexX4rxe6pbRyuywMfnvG261fuTo8XwIdOQFmRMW+6Wjx93LVHZ6bJYMyovpRxtaw0J26 tEdHRMbDv1ezgrERVyOux8dnrt3DvcbKy5E5NssKTWEjgV+hpZYkcfE4v3R/BkoUBwhfh7/NnK5jF DHL4bMbeLnTJVBMbB3FZhS7evaAf4R3kcGbyEEfWJ3jS9k8ouJOTk2xozxCoFeETdCjqyh33f1zqc 8QUl4iDxwX0bJg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (dariqq@posteo.net's message of "Tue, 29 Oct 2024 12:29:04 +0000") References: Date: Mon, 11 Nov 2024 00:29:37 +0100 Message-ID: <87h68evfa6.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.55 X-Spam-Score: -3.55 X-Migadu-Queue-Id: DB2C58D430 X-Migadu-Scanner: mx10.migadu.com X-TUID: Qibf5G+j2Lq5 Hi, Dariqq skribis: > * gnu/home/services/desktop.scm (home-dbus-shepherd-services): Log to > %user-log-dir. > * gnu/home/services/desktop.scm (home-unclutter-shepherd-services): Same. > * gnu/home/services/pm.scm (home-batsignal-shepherd-services): Same. > * gnu/home/services/shepherd.scm (launch-shepherd-gexp): Don't overwrite > default log-file. > > Change-Id: I2742371cbddd1bf4d981efc41f3eae8f148336be [...] > +++ b/gnu/home/services/desktop.scm > @@ -298,6 +298,7 @@ (define (home-dbus-shepherd-services config) > (list (shepherd-service > (documentation "Run the D-Bus daemon in session-specific mode.") > (provision '(dbus)) > + (modules '((shepherd support))) ;for '%user-log-dir' > (start #~(make-forkexec-constructor > (list #$(file-append (home-dbus-dbus config) > "/bin/dbus-daemon") > @@ -310,10 +311,7 @@ (define (home-dbus-shepherd-services config) > (cons "DBUS_VERBOSE=3D1" > (default-environment-variables)) > #:log-file > - (format #f "~a/log/dbus.log" > - (or (getenv "XDG_STATE_HOME") > - (format #f "~a/.local/state" > - (getenv "HOME")))))) > + (string-append %user-log-dir "/dbus.log"))) Nicolas, can you confirm that this is what you had in mind? At first sight it LGTM. Ludo=E2=80=99.