From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KKwVEXnpl2UFNwAAkFu2QA (envelope-from ) for ; Fri, 05 Jan 2024 12:35:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oCkTCnnpl2U0ZQEAqHPOHw (envelope-from ) for ; Fri, 05 Jan 2024 12:35:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniA header.b=CUmDiRk0; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704454521; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wmEhS1YG/pGo1vwQQbTT2EiNdLKKKikW9Ofu4MmVmWM=; b=hKdQSvxdQGZx8HOYbJ2j6ubLiLnV7N3QfiEWmaZLHY6iLYr+032kAUZZyhMTyGlGm21Aon grDuZMn3mf86VXwmIVrY4MOUaIgLeMzNGS/wUgzeLXQR//hN9rpSopEj5nTbhoKcvjraqK rlwNslao/wxRUtIRaidBOSuC+vm/v0I5B95+gbLBop26asV+5K2USzTDQ5nZfiOsBqp6C+ X9oMKGxZO3ZJkRupE9NTzWk2U5J6mOsEnXduCICsukzbXw2pv+8tJqFC2tsi4HGBxZNezh NcMGP35cbB7RjC7O8W8NoLKMZlLKClo1e7b2D5pe7vnLKs7wn0mGmN+Ke4rx5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704454521; a=rsa-sha256; cv=none; b=f40Jex4IgwopCkXQ68YWTn1KHDxoLGdb+dZexDuPJACUXCx6zQw2xOrpeKBLfXMNaqgp4o SnmRWx+qZWlQOkUIsxyQQIPBuV9c+EtMly9XGHeLlsyhn8B0p7yNMAJcVyCeEhWdcdchyr 1Hu5LjlDZxkQWAzgLesGS/Z0AQ6snKgM5PBwL6qRKH8gzT/UFo0JuAivfAWAWRjYD15ItB fkW49XkyNWkjcRYVS7I0/7O/Z8umIjYhyvWi6AD4s5Ah7zVw3OTQvbGi9WG+bzLngukN1U nMlVAGIMIoOxgJiu+PC0WFRlhq5Se80zHhNTYp7Eb5RP2i+tj1KiHF+2y3U8ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniA header.b=CUmDiRk0; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 B2C723932E for ; Fri, 5 Jan 2024 12:35:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLiTl-00053s-S3; Fri, 05 Jan 2024 06:35:09 -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 1rLiTc-00053Z-Ob for guix-patches@gnu.org; Fri, 05 Jan 2024 06:35:00 -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 1rLiTc-0004N9-G1 for guix-patches@gnu.org; Fri, 05 Jan 2024 06:35:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLiTe-0002gN-LZ; Fri, 05 Jan 2024 06:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68259] [PATCH gnome-team] gnu: dbus-service: only symlink /run/dbus the first time Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, guix-patches@gnu.org Resent-Date: Fri, 05 Jan 2024 11:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68259@debbugs.gnu.org Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name Received: via spool by submit@debbugs.gnu.org id=B.170445447210263 (code B ref -1); Fri, 05 Jan 2024 11:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jan 2024 11:34:32 +0000 Received: from localhost ([127.0.0.1]:56538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLiTA-0002fT-DP for submit@debbugs.gnu.org; Fri, 05 Jan 2024 06:34:32 -0500 Received: from lists.gnu.org ([2001:470:142::17]:33172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLiT6-0002fC-PZ for submit@debbugs.gnu.org; Fri, 05 Jan 2024 06:34:31 -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 1rLiSw-0004yo-Aj for guix-patches@gnu.org; Fri, 05 Jan 2024 06:34:18 -0500 Received: from [2a01:cb18:1080:a00:9d0a:d894:ce16:c7ad] (helo=planete-kraus.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rLiSu-0004Kx-MN for guix-patches@gnu.org; Fri, 05 Jan 2024 06:34:18 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id ac197531 for ; Fri, 5 Jan 2024 11:27:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h=from :date:to:subject:message-id:mime-version; s=albinoniA; bh=c5Mrh+ 5slQh/2jACeQAH/tDzIL4=; b=CUmDiRk0+it2jIwz6rA6FdD+X/Sj0tlCV0DLcA N48SJRGO3TCUPiBYdlN69Lb3pIytHf4Zpox8kQnauVIoyDHagK58KC5J4MUN86FR G/VyPNHfXO7ur0dbNY6Y08P/2gG8YQA5dsK0ozXDFFJLXJelOVCZhhWbT9XByv+L Kyi77bxNZz8GVECth3XhVWYs7FYhuEzSUoQi9PyY0b/QnaIinT7OmcyvGKlJ/tH3 gOzuUV0e8Kvp2s3nVNuZg3E3Tkf++38av6l8dm8pIxStmJdz/BakqhqnjlT3ije6 FCEJ2+DZJYRtJwTyztqzy4DBr3Ym/4NtEwOHl0q+lByIrIbw== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id c57cfbe1 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Fri, 5 Jan 2024 11:27:29 +0000 (UTC) Date: Fri, 5 Jan 2024 09:56:46 +0100 Message-ID: MIME-Version: 1.0 User-Agent: Evolution 3.48.4 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:cb18:1080:a00:9d0a:d894:ce16:c7ad (failed) Received-SPF: pass client-ip=2a01:cb18:1080:a00:9d0a:d894:ce16:c7ad; envelope-from=vivien@planete-kraus.eu; helo=planete-kraus.eu X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches From: Vivien Kraus via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.27 X-Spam-Score: -5.27 X-Migadu-Queue-Id: B2C723932E X-Migadu-Scanner: mx11.migadu.com X-TUID: FSl/O6pjtsnj Due to an error in the nesting of S-Expressions, the re-linking of /var/run/dbus to /run/dbus would occur even if it was already a correct symlink. It should only happen if the symlink is different. * gnu/services/dbus.scm (dbus-activation): Adjust accordingly. --- gnu/services/dbus.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm index 1edcc6eb9e..8dee91a3f7 100644 --- a/gnu/services/dbus.scm +++ b/gnu/services/dbus.scm @@ -210,9 +210,9 @@ (define (dbus-activation config) (begin (rename-file (string-append "/var/run/dbus/" next) (string-append "/run/dbus/" next)) - (loop (readdir dir)))))))) - (rmdir "/var/run/dbus") - (symlink "/run/dbus" "/var/run/dbus"))) + (loop (readdir dir))))))) + (rmdir "/var/run/dbus") + (symlink "/run/dbus" "/var/run/dbus")))) (else (format (current-error-port) "Failed to symlink /run/dbus to /var/run/dbus: ~s~%" base-commit: 1cd97066c2dc84c6e538cfa63820e18f6c12a414 -- 2.41.0