GNU bug report logs - #58582
[PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Sughosha <Sughosha@HIDDEN>; Keywords: moreinfo patch; dated Mon, 17 Oct 2022 11:44:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Christopher Baines <mail@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 58582 <at> debbugs.gnu.org:


Received: (at 58582) by debbugs.gnu.org; 17 Oct 2022 11:50:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 07:50:34 2022
Received: from localhost ([127.0.0.1]:47563 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1okOdd-0005xk-U1
	for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 07:50:34 -0400
Received: from knopi.disroot.org ([178.21.23.139]:45522)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paren@HIDDEN>) id 1okOdb-0005xZ-F1
 for 58582 <at> debbugs.gnu.org; Mon, 17 Oct 2022 07:50:32 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 160D04DD17;
 Mon, 17 Oct 2022 13:50:30 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id eBuzkM3SDWBQ; Mon, 17 Oct 2022 13:50:29 +0200 (CEST)
Mime-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1666007428; bh=2txgRiqx1bxChfOiYUZ5V6LMQZAZuRGcxE8dn9FszQ4=;
 h=Date:Subject:From:To:References:In-Reply-To;
 b=Eh5u4puRfmpaE+Dv4MT0aPpeCXtnwtuz02Lt/HR9ij1kjSzgRXwSBDHPRDF8wBGqn
 +4QHXvNss0mrt+ZMi4XXuFdlOORpdAINc3x7GbjnpLjeJKyLa70Zvi6ki3aiVekLO5
 +MaU4qLcx+7GQZJkwt5T2ZZjfVtrHwurOebxm2O0KD5yRDiOvP+iyqNWJMfRTawvh1
 zZHv+o5eSRSZDGToxoC7lqkiI6uw/qWTtCh4ldskv7Hd5JQjUcCQdQvytGnnrHgW//
 0DxBlTVpsM1+D0MjOmFlUXGTMJv4/fhsHEq8dI10LKoLfqk71XxO0tl113LHLD0OpN
 QZWRyhYYQfUkg==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Date: Mon, 17 Oct 2022 12:50:28 +0100
Message-Id: <CNO6CEM9GTCE.207GW38OK6BRK@guix-framework>
Subject: Re: [bug#58582] [PATCH] gnu: Fix dbus session address in
 home-dbus-shepherd-services and home-dbus-environment-variables
From: "(" <paren@HIDDEN>
To: "Sughosha" <Sughosha@HIDDEN>, <58582 <at> debbugs.gnu.org>
References: <6B8PVUNJFWE65EEQjuqmH-PLzud7XaJZQ7M1VWklTB4FboCffQez3Tn0H5rLpEcwBJk-4o7StU9b2r0QbN3OHfR_KephR_IZ21vFdd50xjc=@proton.me>
In-Reply-To: <6B8PVUNJFWE65EEQjuqmH-PLzud7XaJZQ7M1VWklTB4FboCffQez3Tn0H5rLpEcwBJk-4o7StU9b2r0QbN3OHfR_KephR_IZ21vFdd50xjc=@proton.me>
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hello, On Mon Oct 17, 2022 at 12:43 PM BST,
 Sughosha via Guix-patches
 via wrote: > Currently if home-dbus-service-type is enabled, the GDM session
 crashes. Oopsie. :) 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.3 FROM_ONE_CHAR          Bogus FROM name
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 58582
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

Hello,

On Mon Oct 17, 2022 at 12:43 PM BST, Sughosha via Guix-patches via wrote:
> Currently if home-dbus-service-type is enabled, the GDM session crashes.

Oopsie. :)

> However, I could not test it since reconfiguring guix home with pre-inst-=
env
> doesn't make any change and I don't know any other method.

``./pre-inst-env guix home reconfigure ~/conf/home.scm'' works for me... I'=
ll
test it, one moment :)

    -- (




Information forwarded to guix-patches@HIDDEN:
bug#58582; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Oct 2022 11:43:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 17 07:43:38 2022
Received: from localhost ([127.0.0.1]:47553 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1okOWv-0005jv-LK
	for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 07:43:37 -0400
Received: from lists.gnu.org ([209.51.188.17]:36404)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Sughosha@HIDDEN>) id 1okOWu-0005jn-Jh
 for submit <at> debbugs.gnu.org; Mon, 17 Oct 2022 07:43:36 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50782)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Sughosha@HIDDEN>)
 id 1okOWu-00006r-EG
 for guix-patches@HIDDEN; Mon, 17 Oct 2022 07:43:36 -0400
Received: from mail-4027.protonmail.ch ([185.70.40.27]:42787)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Sughosha@HIDDEN>)
 id 1okOWq-0008GB-RG
 for guix-patches@HIDDEN; Mon, 17 Oct 2022 07:43:35 -0400
Date: Mon, 17 Oct 2022 11:43:19 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me;
 s=protonmail; t=1666007010; x=1666266210;
 bh=DkeSuQfJJgy34h0N2TI5akR076B2pNFtcu8bEbMfEmA=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID;
 b=L80MC5A5EAoxDjIgy206gg6POXDbZnM+DSUTGzeYMxYyIoFJD/ZMd2AYLd3Vj0Ne+
 1UbcW5VzyrsT7DBwX/5XbViEYW6BAvsdOXXcs17nF3kdie+nKdLoDlZRDM+F71vJIr
 Gz79REMh/gjW2YUCLlnqXBlk/1QWs+zwsuF6gcAIWt2GD1M+Nd1/kW33MzuX9DWFf7
 fnQZI+9sy8Tn5khme5hssVauR770713Q2GL0/z5/iEpXMvau02Lx8YrSd05Z3NBRkP
 07Nn6DLA70+T+qPqlCD0AELID9525BXpi6z+YwjwoihDNJqwOgO52Wn8/tAWXkU4J/
 1kIdr9j8/2/QA==
To: "guix-patches@HIDDEN" <guix-patches@HIDDEN>
From: Sughosha <Sughosha@HIDDEN>
Subject: [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services
 and home-dbus-environment-variables
Message-ID: <6B8PVUNJFWE65EEQjuqmH-PLzud7XaJZQ7M1VWklTB4FboCffQez3Tn0H5rLpEcwBJk-4o7StU9b2r0QbN3OHfR_KephR_IZ21vFdd50xjc=@proton.me>
Feedback-ID: 45211691:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.40.27; envelope-from=Sughosha@HIDDEN;
 helo=mail-4027.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

* gnu/home/services/desktop.scm
(home-dbus-shepherd-services): Fix dbus session address.
(home-dbus-environment-variables): Fix dbus session address.

Currently if home-dbus-service-type is enabled, the GDM session crashes. Th=
is
fix should possibly prevent it. However, I could not test it since reconfig=
uring
guix home with pre-inst-env doesn't make any change and I don't know any ot=
her
method.
---
 gnu/home/services/desktop.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/home/services/desktop.scm b/gnu/home/services/desktop.scm
index e94e666d93..91e39af36c 100644
--- a/gnu/home/services/desktop.scm
+++ b/gnu/home/services/desktop.scm
@@ -196,7 +196,7 @@ (define (home-dbus-shepherd-services config)
                    (list #$(file-append (home-dbus-dbus config)
                                         "/bin/dbus-daemon")
                          "--nofork" "--session"
-                         (format #f "--address=3Dunix:path=3D~a/bus"
+                         (format #f "--address=3Dunix:path=3D~a/dbus.lock"
                                  (or (getenv "XDG_RUNTIME_DIR")
                                      (format #f "/run/user/~a"
                                              (getuid)))))
@@ -211,7 +211,7 @@ (define (home-dbus-shepherd-services config)
=20
 (define (home-dbus-environment-variables config)
   '(("DBUS_SESSION_BUS_ADDRESS"
-     . "unix:path=3D${XDG_RUNTIME_DIR:-/run/user/$UID}/bus")))
+     . "unix:path=3D${XDG_RUNTIME_DIR:-/run/user/$UID}/dbus.lock")))
=20
 (define home-dbus-service-type
   (service-type
--=20
2.38.0





Acknowledgement sent to Sughosha <Sughosha@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#58582; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 3 Nov 2022 16:15:01 UTC

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