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.

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


Received: (at 58582) by debbugs.gnu.org; 3 Jan 2023 22:15:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 03 17:15:35 2023
Received: from localhost ([127.0.0.1]:46931 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pCpZH-0006x8-9I
	for submit <at> debbugs.gnu.org; Tue, 03 Jan 2023 17:15:35 -0500
Received: from mail-qt1-f182.google.com ([209.85.160.182]:34634)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1pCpZE-0006ar-Cn
 for 58582 <at> debbugs.gnu.org; Tue, 03 Jan 2023 17:15:34 -0500
Received: by mail-qt1-f182.google.com with SMTP id g7so25734551qts.1
 for <58582 <at> debbugs.gnu.org>; Tue, 03 Jan 2023 14:15:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=AOa7GZ+3xFULpJ4AzLRCiWJffnN/a4AOLiQrLY4LfBw=;
 b=X4V7bmH9ZIpUrb4uWPAW21d4ciRPrHKHaoOuwlqZMklZCCkSLkL6EJvpYZizFssoLE
 rilZqibmVh7q4+YopdhcsS31up2iZMjxZUEvgLwpPdviRIM8V+VxXEyixjlhkrmU9oGz
 YL7ehVRiq9hCishLPyZO1MyRVcZjypmJ4yTCwrsgu7q7At451M8rvWqLfqTKWPubkUNT
 c9V1eO7vAJgApQ2C3ByJbNM7Lt9suBpnwKuXJnkOkDF706lQQ7S7qlMKq9VfjPUukPmc
 v+FaXYV55nRhOOI9pYpcM6yWagu7RxrQUUthhaKKZZduB7N+mTVEI/L8vCK3VfoPnHZs
 Vhrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=AOa7GZ+3xFULpJ4AzLRCiWJffnN/a4AOLiQrLY4LfBw=;
 b=KwNFK75xqGNg6Gf7gbb3gy1ME17lB8MKAN2XZ3DE8gBZb/CB7ejCAWnLd18Mk4e1SO
 1TzVPxN1RGDxT9SItaoUehJ5QQhTE8GdWpNYhwnvlXfNRE4ihJOcEF2ElddJ7Z5Omado
 MwABjwCZV6smm48xKxpPq8I/IRhCg4EuCfLr/GtPQxa/O7wiGZYp1xiBVk717QnRzLBn
 KGH3ECZyXkoUZl+1wsAFvPWcPzCZ6FbkCvY0//DIrLkvcnm/u6MASYKkW23hQheAqzAd
 e/BqZ2yP5gX55C8ot2VAeoP0CzgFMx8nzZTkRAULtXGvyhbWIMRoQQNBHJHrkwdeX960
 r9Gg==
X-Gm-Message-State: AFqh2kqgBoEJQONcgYyfQxSESjo6dem2wI7rQ+ZNgU0xhH4vlONUF6X+
 TNAiAgYvQnvRnoUNmR/jk8ddNngs32/guAIn
X-Google-Smtp-Source: AMrXdXs2ts20WKWKyRQoJMVNz8teFrj8Noh7vwehSDl/bMwcr0OVBWdsIRPd5FiluTd2dpaoZ4jEKQ==
X-Received: by 2002:ac8:690d:0:b0:3a7:f599:1d2c with SMTP id
 bt13-20020ac8690d000000b003a7f5991d2cmr63660655qtb.63.1672784126599; 
 Tue, 03 Jan 2023 14:15:26 -0800 (PST)
Received: from hurd (dsl-10-135-221.b2b2c.ca. [72.10.135.221])
 by smtp.gmail.com with ESMTPSA id
 i10-20020ac813ca000000b003a6847d6386sm19053189qtj.68.2023.01.03.14.15.26
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 03 Jan 2023 14:15:26 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: "(" <paren@HIDDEN>
Subject: Re: bug#58582: [PATCH] gnu: Fix dbus session address in
 home-dbus-shepherd-services and home-dbus-environment-variables
References: <6B8PVUNJFWE65EEQjuqmH-PLzud7XaJZQ7M1VWklTB4FboCffQez3Tn0H5rLpEcwBJk-4o7StU9b2r0QbN3OHfR_KephR_IZ21vFdd50xjc=@proton.me>
 <CNO6CEM9GTCE.207GW38OK6BRK@guix-framework>
Date: Tue, 03 Jan 2023 17:15:25 -0500
In-Reply-To: <CNO6CEM9GTCE.207GW38OK6BRK@guix-framework> (paren@HIDDEN's
 message of "Mon, 17 Oct 2022 12:50:28 +0100")
Message-ID: <87k023z2ma.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 58582
Cc: Sughosha <Sughosha@HIDDEN>, 58582 <at> debbugs.gnu.org
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: -1.0 (-)

Hello,

"(" <paren@HIDDEN> writes:

> 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 :)

Friendly ping :-)

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#58582; Package guix-patches. Full text available.
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: Tue, 3 Jan 2023 22:30:02 UTC

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