From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mFQ8GJq3XWcE0gAAqHPOHw:P1 (envelope-from ) for ; Sat, 14 Dec 2024 16:51:38 +0000 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 mFQ8GJq3XWcE0gAAqHPOHw (envelope-from ) for ; Sat, 14 Dec 2024 17:51:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=QxJtUG+f; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b="uQo1/ZJf"; 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=1734195098; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=0NwjhCzopKwjWraxY+EAi/5r2F8/+B+yWfu8LGLCHhM=; b=sP4MmihtsP3kcDomuvs1iNEDhvKP0s3Oj5inKgxwQvBknARMCjJkG2qCbOEMX0C0rky7Pb zSla1nKJziakGrMfeygaZJ3eshVYfEntSvkWuv7Uby5dADWPnNXdSvvr32iK8WgoBup+d9 1OCU4BibrGMDmi8h1eHHG9+yluErYAurQMciWWEtxCUwWzEMB3ocwpBBazfUp/Nrcb7Bw0 ps6ml81nMy11HzfUGhJiLFK7FQ804f9Xe9e+Sg/h1JF1cWvp0VmCNDDbDOWq+Z243l0/QU BocVBeeK+3qDeFNezOivDo5AHUyuo9t/ezmag9hTdEucIBHsv9fw9yy/5oIiIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734195098; a=rsa-sha256; cv=none; b=cWlushJfOzpkG6d5w6WJJv5ptAmmOMyMRxhUhUOrr0eBNU/ATJQEG2Mboi/mgL6QqQ05Um f/8lnmCSgBSAhBgkmT7mgsqxVTYXFdL+nD9do8rVLuDTICHB4NAjz3F2MQ9hfgbUXL602c HiyOp4bkEJU/3wtMYZEOaEGZAhB7MiKE9og5RCsLvfslsDJ1dQgX9dpuPyM6630+ZVVYlQ TEbivAveBn9rxDOCH7QEKLCOwJw3G5LftqmiK90bEeZGA7DV3O3bN7lMKI+soP2akiH66j nIHfFqDNR7ym6ox7WzhQ+ZYRKfd+pSl57sMyPtB9530dN7p72kYQkQhwjnT1vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=QxJtUG+f; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b="uQo1/ZJf"; 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 F200879305 for ; Sat, 14 Dec 2024 17:51:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMVMA-0000I2-27; Sat, 14 Dec 2024 11:51:06 -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 1tMVM7-0000EW-9a for guix-patches@gnu.org; Sat, 14 Dec 2024 11:51:03 -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 1tMVM7-0008SG-1R for guix-patches@gnu.org; Sat, 14 Dec 2024 11:51:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:Date:MIME-Version:To:Subject; bh=0NwjhCzopKwjWraxY+EAi/5r2F8/+B+yWfu8LGLCHhM=; b=QxJtUG+fp4sVGu2ZkH0mzq8GFGJG8rOQyXGLQ68+zXKXmjX1gAxZ5kMMfbfR5awGQ9FXaK9PKV6bossn5nkFSGDHHpVojdMJ4m4x1/j4oh314WopwFtR8nHsQJc5Vl3E9td5UnNvp9I9fxdZ2uH5MDd0+uYmynvF3d9jml9MjjCa5R0L5PIBXrO3cdhkuSfPKMr2wpCez0MMhQObsyLyWYmbokAkHo5Uizgc3DgTTC0gDdupp9vBfEsuGS7/tJgN9giGHkuOz7n7wUqDhcUOVQyapKdNlPj952gR6jc5RgeqmQyQNn6waVWGs24INk8bUmXxgUmedgPAlEvdPoduHg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMVM6-0003S5-JY for guix-patches@gnu.org; Sat, 14 Dec 2024 11:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74872] bugfix: update symlinks Resent-From: ngraves@ngraves.fr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 Dec 2024 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 74872@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173419501413183 (code B ref -1); Sat, 14 Dec 2024 16:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2024 16:50:14 +0000 Received: from localhost ([127.0.0.1]:48162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMVLJ-0003QX-2k for submit@debbugs.gnu.org; Sat, 14 Dec 2024 11:50:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:40558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMVLF-0003Nk-Rg for submit@debbugs.gnu.org; Sat, 14 Dec 2024 11:50:10 -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 1tMVLF-00005X-GO for guix-patches@gnu.org; Sat, 14 Dec 2024 11:50:09 -0500 Received: from 17.mo550.mail-out.ovh.net ([87.98.179.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMVLA-000858-Pz for guix-patches@gnu.org; Sat, 14 Dec 2024 11:50:09 -0500 Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.17.160]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Y9XHh3jt1z1Svc for ; Sat, 14 Dec 2024 16:49:52 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-k9pf5 (unknown [10.111.182.101]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 352B71FDBB for ; Sat, 14 Dec 2024 16:49:52 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-5b5ff79f4f-k9pf5 with ESMTPSA id maGfNC+3XWdZvQEA+4HzqA (envelope-from ) for ; Sat, 14 Dec 2024 16:49:52 +0000 X-OVh-ClientIp: 151.80.29.18 MIME-Version: 1.0 Date: Sat, 14 Dec 2024 17:49:51 +0100 Message-ID: <8f00e019e47cc41d4c85a524908d63aa@ngraves.fr> X-Sender: ngraves@ngraves.fr X-Originating-IP: 90.92.117.144 X-Webmail-UserID: ngraves@ngraves.fr Content-Type: multipart/mixed; boundary="=_2932b5485186d75edc5930cb7feed3b5" X-Ovh-Tracer-Id: 13200050512043959034 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrkeelgdeludcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhepggffhffvuffkgihitgesmhdtjhertddtvdenucfhrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrnecuggftrfgrthhtvghrnhepteffjeelgfehudevheeigfeiuddtffevgfetteefvefhkeegiedvkeetjedvudfhnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdduhedurdektddrvdelrddukedpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=0NwjhCzopKwjWraxY+EAi/5r2F8/+B+yWfu8LGLCHhM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1734194992; v=1; b=uQo1/ZJf3pDGd/pHwvYiDrWCi4qpyZM6zt+HjPAIkmMKJzmYQOtbiKzhgxez+qxdgf1P5Kih KvaMeC0edY885JBw3pBaiqKVgX+o4cpe77VEqHeaGtZTSzM7rBcP++Ckd396qYiTwJM4QCM88Ad yYZGMSuorTQ6pijUNAnpGZ58xEk7j/yF1EKsQ9PVoI2sccIdBOVAc3u4YMXZzU6PUjUETpIosA6 ixMIOA5Y5FFeSdY364zTsca2zRMdmbz5r+Hmt9gDTYt7WncbIiCMUi/NVh4bZH8ccegNd41uiKS SFLYB+ObyjfN5bNGAxJncjAO5fvzdl+ihYjHOxzVB6Tiw== Received-SPF: pass client-ip=87.98.179.142; envelope-from=ngraves@ngraves.fr; helo=17.mo550.mail-out.ovh.net 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=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: , Reply-to: ngraves@ngraves.fr X-ACL-Warn: , ngraves--- via Guix-patches From: ngraves--- 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: -3.28 X-Spam-Score: -3.28 X-Migadu-Queue-Id: F200879305 X-Migadu-Scanner: mx11.migadu.com X-TUID: SzKVsCyt+NF/ --=_2932b5485186d75edc5930cb7feed3b5 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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. --=_2932b5485186d75edc5930cb7feed3b5 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0001-gnu-home-Replace-rename-in-update-symlinks-scripts.patch Content-Disposition: attachment; filename=0001-gnu-home-Replace-rename-in-update-symlinks-scripts.patch; size=1159 RnJvbSBmZTA3MDY2Yjg4NTU2YzM3NTVkYjNmYzI5NjY1Y2U5M2QyM2NjMDcxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOaWNvbGFzIEdyYXZlcyA8bmdyYXZlc0BuZ3JhdmVzLmZyPgpE YXRlOiBTYXQsIDE0IERlYyAyMDI0IDEyOjM4OjE0ICswMTAwClN1YmplY3Q6IFtQQVRDSF0gZ251 OiBob21lOiBSZXBsYWNlIHJlbmFtZSBpbiB1cGRhdGUtc3ltbGlua3Mgc2NyaXB0cy4KCiogZ251 L2hvbWUvc2VydmljZXMvc3ltbGluay1tYW5hZ2VyLnNjbSAodXBkYXRlLXN5bWxpbmtzKTogVXNl CmNvcHktZmlsZSBhbmQgZGVsZXRlLWZpbGUgaW5zdGVhZCBvZiByZW5hbWUtZmlsZSB0byBhdm9p ZCBhbiBlcnJvcgp3aGVuIHRoZSB0YXJnZXQgYW5kIGJhY2t1cCBhcmUgbm90IGluIHRoZSBzYW1l IGZpbGVzeXN0ZW0uCi0tLQogZ251L2hvbWUvc2VydmljZXMvc3ltbGluay1tYW5hZ2VyLnNjbSB8 IDMgKystCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCgpk aWZmIC0tZ2l0IGEvZ251L2hvbWUvc2VydmljZXMvc3ltbGluay1tYW5hZ2VyLnNjbSBiL2dudS9o b21lL3NlcnZpY2VzL3N5bWxpbmstbWFuYWdlci5zY20KaW5kZXggNTYwZTAzYTgzOS4uZDdiMjJk N2ZiYSAxMDA2NDQKLS0tIGEvZ251L2hvbWUvc2VydmljZXMvc3ltbGluay1tYW5hZ2VyLnNjbQor KysgYi9nbnUvaG9tZS9zZXJ2aWNlcy9zeW1saW5rLW1hbmFnZXIuc2NtCkBAIC0xMDYsNyArMTA2 LDggQEAgKGRlZmluZSBiYWNrdXAKICAgICAgICAgICAgKG1rZGlyLXAgYmFja3VwLWRpcmVjdG9y eSkKICAgICAgICAgICAgKGZvcm1hdCAjdCAoR18gIkJhY2tpbmcgdXAgfmEuLi4iKSAodGFyZ2V0 LWZpbGUgZmlsZSkpCiAgICAgICAgICAgIChta2Rpci1wIChkaXJuYW1lIGJhY2t1cCkpCi0gICAg ICAgICAgIChyZW5hbWUtZmlsZSAodGFyZ2V0LWZpbGUgZmlsZSkgYmFja3VwKQorICAgICAgICAg ICAoY29weS1maWxlICh0YXJnZXQtZmlsZSBmaWxlKSBiYWNrdXApCisgICAgICAgICAgIChkZWxl dGUtZmlsZSAodGFyZ2V0LWZpbGUgZmlsZSkpCiAgICAgICAgICAgIChkaXNwbGF5IChHXyAiIGRv bmVcbiIpKSkKIAogICAgICAgICAgKGRlZmluZSAoY2xlYW51cC1zeW1saW5rcyBob21lLWdlbmVy YXRpb24pCi0tIAoyLjQ2LjAKCg== --=_2932b5485186d75edc5930cb7feed3b5--