GNU bug report logs -
#74872
bugfix: update symlinks
Previous Next
Reported by: ngraves <at> ngraves.fr
Date: Sat, 14 Dec 2024 16:51:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74872 in the body.
You can then email your comments to 74872 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#74872
; Package
guix-patches
.
(Sat, 14 Dec 2024 16:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ngraves <at> ngraves.fr
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 14 Dec 2024 16:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
For some reason, rename-file fails when the target and destination are
not in the same filesystem. However, we can't assume for the
update-symlink script that all users will always have e.g.
~/.local/share/applications (managed by guix-home) and ~ on the same
filesystem. My use-case is trying to implement home impermanence. The
patch is attached.
[0001-gnu-home-Replace-rename-in-update-symlinks-scripts.patch (text/x-diff, attachment)]
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Mon, 23 Dec 2024 18:05:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
ngraves <at> ngraves.fr
:
bug acknowledged by developer.
(Mon, 23 Dec 2024 18:05:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 74872-done <at> debbugs.gnu.org (full text, mbox):
ngraves <at> ngraves.fr skribis:
> For some reason, rename-file fails when the target and destination are
> not in the same filesystem. However, we can't assume for the
> update-symlink script that all users will always have
> e.g. ~/.local/share/applications (managed by guix-home) and ~ on the
> same filesystem. My use-case is trying to implement home
> impermanence. The patch is attached.
>
> From fe07066b88556c3755db3fc29665ce93d23cc071 Mon Sep 17 00:00:00 2001
> From: Nicolas Graves <ngraves <at> ngraves.fr>
> Date: Sat, 14 Dec 2024 12:38:14 +0100
> Subject: [PATCH] gnu: home: Replace rename in update-symlinks scripts.
>
> * gnu/home/services/symlink-manager.scm (update-symlinks): Use
> copy-file and delete-file instead of rename-file to avoid an error
> when the target and backup are not in the same filesystem.
Applied, thanks!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 21 Jan 2025 12:24:21 GMT)
Full text and
rfc822 format available.
This bug report was last modified 144 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.