emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68259: closed ([PATCH gnome-team] gnu: dbus-service: only symlink /r


From: GNU bug Tracking System
Subject: bug#68259: closed ([PATCH gnome-team] gnu: dbus-service: only symlink /run/dbus the first time)
Date: Sun, 07 Jan 2024 17:40:02 +0000

Your message dated Sun, 07 Jan 2024 18:39:07 +0100
with message-id <71d650bb003f4b72c90c9337cfb5ccfc1b308959.camel@gmail.com>
and subject line Re: [bug#68259] [PATCH gnome-team] gnu: dbus-service: only 
symlink /run/dbus the first time
has caused the debbugs.gnu.org bug report #68259,
regarding [PATCH gnome-team] gnu: dbus-service: only symlink /run/dbus the 
first time
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68259: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68259
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH gnome-team] gnu: dbus-service: only symlink /run/dbus the first time Date: Fri, 5 Jan 2024 09:56:46 +0100 User-agent: Evolution 3.48.4
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



--- End Message ---
--- Begin Message --- Subject: Re: [bug#68259] [PATCH gnome-team] gnu: dbus-service: only symlink /run/dbus the first time Date: Sun, 07 Jan 2024 18:39:07 +0100 User-agent: Evolution 3.46.4
Am Freitag, dem 05.01.2024 um 09:56 +0100 schrieb Vivien Kraus:
> 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.
> ---
Yeah, that LGTM.

Pushed


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]