From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +H81Gy1ATWN5hwAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 13:44:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gGsSGy1ATWObDAEAauVa8A (envelope-from ) for ; Mon, 17 Oct 2022 13:44:45 +0200 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 D452EDB18 for ; Mon, 17 Oct 2022 13:44:44 +0200 (CEST) Received: from localhost ([::1]:53388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okOXz-0000lY-Uv for larch@yhetil.org; Mon, 17 Oct 2022 07:44:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okOXL-0000fR-P4 for guix-patches@gnu.org; Mon, 17 Oct 2022 07:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okOXL-0008Js-HI for guix-patches@gnu.org; Mon, 17 Oct 2022 07:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okOXK-0005kj-9V for guix-patches@gnu.org; Mon, 17 Oct 2022 07:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Oct 2022 11:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58582 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58582@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.166600701822071 (code B ref -1); Mon, 17 Oct 2022 11:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2022 11:43:38 +0000 Received: from localhost ([127.0.0.1]:47553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okOWv-0005jv-LK for submit@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 ) id 1okOWu-0005jn-Jh for submit@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 ) id 1okOWu-00006r-EG for guix-patches@gnu.org; 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 ) id 1okOWq-0008GB-RG for guix-patches@gnu.org; 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== 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@proton.me; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666007085; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DkeSuQfJJgy34h0N2TI5akR076B2pNFtcu8bEbMfEmA=; b=Wobo+mMLQb24nhsDRNQmQwIphag8WAs0ZcfqlQr/0BFcXL9yzCISDzjfuNlk3ylOQHSZZ5 lsfmlY00+H8vjN7+Wm1L8A8fxgiGDaCKFE95dycBN5yunZPF6wVmICB3FmiWbMWwComAVW SsXIsSTR2dweZwAbzZQVJi4dPuafxHGohcpUJae7XtP9Yz0ozBizmdGNAkhLvUZrdwakpZ jxw8mBtSo0+JJ1KvVlqVuQGDl5/ce7vlCinfYIqAATkQgmIDN/OEIZunjipDWBUFxZhGL/ KWkF+DgDJva0p04LUDVIIM+vsPf5DI7XGv2ziyP/fBu3feACemvLyGfISIAZ2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666007085; a=rsa-sha256; cv=none; b=Sgte1MPY8Ui4AW7jNyhrkcByTCz4x/NK09B73+IjcpY5dXIf3tI0B9OEpGK74f9/6lu1D6 c3McDdXdlwJNQ3HKnOjYHnHPmkkRE4Yv3ESi7OuNSljGTS4msClvAC8fRDir8xXslIQ3HM wLAs3zzAuHKAWxtmerwT1+vLNB96YrijSEjGpdT1ZzE5gAF23mox2HrGKZfULrpR9JV78V z/WvamC0oqFTlOpItVve5XvpLjHPzrOfLKFnNCXU0nwUHq8YIWF3AKTNipApfLf+vsPOwF ckIB0JRXKaJPYcRRpO6EdTREqAs8VlHrSc79kg42Xi1OilbD9isVi+4H5jaTCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=L80MC5A5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=L80MC5A5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D452EDB18 X-Spam-Score: -3.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: AYRLPDV249Df * 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