From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4AEgMCxgIGU4eQAAauVa8A:P1 (envelope-from ) for ; Fri, 06 Oct 2023 21:29:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4AEgMCxgIGU4eQAAauVa8A (envelope-from ) for ; Fri, 06 Oct 2023 21:29:48 +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 708D165E36 for ; Fri, 6 Oct 2023 21:29:48 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ZQEzb295; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1696620588; 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=ZIo0gguYMvYE4T40YY9ZsNFaT8qgAnVuaDQWKHlFnl8=; b=YR/Nq5VAo+5vHC3f5yriZf53dajVqh6nzuTs09hHjXJTxjs5knWN1ZFTdhYl4RekTtGm3L ydS09SQtO3VBhl4q/9QDEPTCWUcIBGuNJ7B4sKdmSMYJG/Jd67hzszkBlZHsG1s7PVOq8a D482SkasUh2sulvYHByEG4QJQWpxnKrA1hSdG/ZG934o9B22v2VbVSlBRKXjfbUBRx9exc Ki5+duhRyn1MNBkGx2tNJyqfKCK/o3txnkJNGmFz5yO+wO3bhow1PkFhTtUk3kQGyMYtrx VoYR7SXL0bu+ShSTDcI8Mj622SxlyFedIMxTapQAOoJuoradPFKfnPwoNsF/Xw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696620588; a=rsa-sha256; cv=none; b=P5Q27jBnOmkjk7l045wJCsg5vVW01vMmWC5SpobQL2F3nmQKPsSvAi2O9pGrnD0YMCYsDi DdiMN4XcfQ6QyEKWQ9MrT89MkYdWx9nXeZKQ4Bhqpg59ivDuaGtb/MwALrRHYHgARWxeMZ roNbl/xN0DLuV2BYKzN2VFxAPvHF9nonN3yL6RTxiyXqVLJ5sRly3KVvMGE+xOPBqEE/Jj zJlQImdZmi0e2ISjxZl77nbkSFXkO7zfHLF9AjSFs+K3s3HcbtT9/8qJmImKN+hoOay0aI PgtrVUq7bUk9y+QYbG4UQNYROz3GukR0FyKUxYIoh96DwNWQWX6ZMowOLlBG9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ZQEzb295; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qopvP-0003lm-Uo; Fri, 06 Oct 2023 14:51:47 -0400 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 1qopvM-0003lL-02 for bug-guix@gnu.org; Fri, 06 Oct 2023 14:51:45 -0400 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 1qopvL-0001Qq-Cz for bug-guix@gnu.org; Fri, 06 Oct 2023 14:51:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qopve-0002pw-9W for bug-guix@gnu.org; Fri, 06 Oct 2023 14:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66339: [PATCH gnome-team v3] gnu: dbus-service: make the session available under /run/dbus Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Oct 2023 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66339 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vivien Kraus , 66339@debbugs.gnu.org Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com Received: via spool by 66339-submit@debbugs.gnu.org id=B66339.169661827810849 (code B ref 66339); Fri, 06 Oct 2023 18:52:02 +0000 Received: (at 66339) by debbugs.gnu.org; 6 Oct 2023 18:51:18 +0000 Received: from localhost ([127.0.0.1]:52690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qopuv-0002ov-Us for submit@debbugs.gnu.org; Fri, 06 Oct 2023 14:51:18 -0400 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]:42350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoput-0002og-ST for 66339@debbugs.gnu.org; Fri, 06 Oct 2023 14:51:16 -0400 Received: by mail-ej1-x641.google.com with SMTP id a640c23a62f3a-9b2cee40de8so541811866b.1 for <66339@debbugs.gnu.org>; Fri, 06 Oct 2023 11:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696618251; x=1697223051; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=ZIo0gguYMvYE4T40YY9ZsNFaT8qgAnVuaDQWKHlFnl8=; b=ZQEzb295uRHdNp3AqpBhs6JEzkkwX7pqbeXjK5Iu40I9Dn72O7DUM0p81VTJdl3VnY PAyULtZsmPbkZJp3jh/NbeVoKByePwpeXrEqA+J19GIhXQ4X9VI98nWKoFknUGO/dA/e 47fofvFfRYrXyrA0/LI0vekSdL1xW2USjHrtVLrQsbgeIafWGKm1lCyOR56I7+glqRD8 T1HjyMYxN6bqI/DE5fOj+RMknywcWx9whORyEBiEKp5UEDZ7sKmJF+TqnRyPYuZndtjP hHZycZ/YRLcJiajtY3Mxujn+0VILrv++aiXH9QC6L6FfquRcNTqGCClx6AcL0n//ZeNz Tvnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696618251; x=1697223051; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZIo0gguYMvYE4T40YY9ZsNFaT8qgAnVuaDQWKHlFnl8=; b=hgsD/yBVdWP3GzL4gw/fDMMUfKp4Eqe8sur7AgoiOI1q3+2Bykwta8xTNCz6yU3ekX vaSn9qz2PtqgVjuMEmDLfxjZTLKUXz9CJ1p4m+ycKv6/Khi76lCQENPhqYpxpi/fLUjv LySIyh2Ww2avLmDFDnN0RTLx0rMBr/o41FMdwhNgcsqKssACYNomHnTqYoQTpILD6llh DQXtF1DisyrAza1Vp+hCMyYX0TIYR4oYIL+CVJsXha0YwNMWtUlzp2nZ5XZx0+Vi/qwT Ao4n72+SkgwtFEbWPsoJ9+gxVmaFsmdJOb5K2EpTv+XYWtPWDezRR+1XoOdEfEKtogWp He5g== X-Gm-Message-State: AOJu0YwNWTbrFC9OQzmMuaf92YxrPdaSQP4y3xrsqjVIfy20Fk08d0Nj 5bbwDuTiusAiv7/NxTTK5yJUt+GOXvwJbQ== X-Google-Smtp-Source: AGHT+IFCSJQ8CtqkFp69ZpBLFaKpYXU6xnY1enDni+50HdkbjAqunDFFU+8n5v1d9IbJrXCeVTDhhA== X-Received: by 2002:a17:907:2ce7:b0:9a5:9f3c:961e with SMTP id hz7-20020a1709072ce700b009a59f3c961emr5892192ejc.18.1696618250900; Fri, 06 Oct 2023 11:50:50 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id dv8-20020a170906b80800b0099cc36c4681sm3270834ejb.157.2023.10.06.11.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 11:50:50 -0700 (PDT) Message-ID: <2b14a21b9cc4987434a5cd0dd0cfd0b0d015a18a.camel@gmail.com> From: Liliana Marie Prikler Date: Fri, 06 Oct 2023 20:50:48 +0200 In-Reply-To: <3b537fed577176c82c604ac9762a9c5ec2835a21.1696613607.git.vivien@planete-kraus.eu> References: <3b537fed577176c82c604ac9762a9c5ec2835a21.1696613607.git.vivien@planete-kraus.eu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -3.61 X-Spam-Score: -3.61 X-Migadu-Queue-Id: 708D165E36 X-TUID: 9GQ+Ap0ZqRCm Am Mittwoch, dem 04.10.2023 um 12:47 +0200 schrieb Vivien Kraus: > According to > https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3101, glib > now searches for the session bus socket in runstatedir. The dbus > service must > thus have its socket in /run/dbus. >=20 > For interoperability with the dbus standard, /run/dbus is also > symlinked to > /var/run/dbus. >=20 > * gnu/services/dbus.scm (dbus-activation): Symlink /run/dbus to > /var/run/dbus. > (%dbus-accounts): Run dbus in /run/dbus. > (dbus-root-service-type): Save the pid file in /run/dbus. > --- >=20 > Le jeudi 05 octobre 2023 =C3=A0 06:41 +0200, Liliana Marie Prikler a =C3= =A9crit > : > > > I=E2=80=99m still concerned about doing a symlink in the activation > > > function. > > > What if we activate a new system from an existing one? Won=E2=80=99t = the > > > symlink > > > fail? I think we should preemptively delete /var/run/dbus and > > > make a new > > > symlink every time. But I could be wrong, maybe this is not > > > needed. > > >=20 > > > What do you think? > > If we go this route, I think we should first check whether > > /var/run/dbus is indeed a symlink to /run/dbus and move the > > existing files if not before deleting the directory and creating > > the symlink.=C2=A0 But before that, we should try to symlink, which wil= l > > fail with EEXIST if the file already exists, regardless of whether > > it's a symlink =E2=80=93 thereafter you can check the cause of this fai= lure > > through lstat. >=20 > I changed my mind! I now think it is OK for the system reconfigure to > fail if a different symlink already exists. Perhaps, but it's not okay to fail if it's a regular directory. We should move those! Cheers