From unknown Mon Jun 23 23:55:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57585: guix gc removed home config Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Sep 2022 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57585 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57585@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16623164699982 (code B ref -1); Sun, 04 Sep 2022 18:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2022 18:34:29 +0000 Received: from localhost ([127.0.0.1]:45682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUuRx-0002aw-0U for submit@debbugs.gnu.org; Sun, 04 Sep 2022 14:34:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:36846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUuRu-0002ao-LV for submit@debbugs.gnu.org; Sun, 04 Sep 2022 14:34:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUuRu-0005Oc-8c for bug-guix@gnu.org; Sun, 04 Sep 2022 14:34:26 -0400 Received: from lepiller.eu ([89.234.186.109]:51520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUuRr-0004dL-FR for bug-guix@gnu.org; Sun, 04 Sep 2022 14:34:25 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 152e1788 for ; Sun, 4 Sep 2022 18:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=dkim; bh=ls+iqMRAo2b6QkjhU7hIU3nq/ y/cORQ8v+LB6IJLAcc=; b=V1G6lir0Z6vGruNWJtDGjo6CpbWcFdUmvj2wvyzS5 GQt03QHftRWyuHdK1J3CnPT8MjATWx5gTHq2qVwHdPkwBY9uDUfoNgbLidr8cteQ siHlXNVGIoPYmOX7UFRnXKyNhNwejQd/n4lSJS2XKebPQNfLb2JiwiTeyOIHbHym DsrzEfkYpI/ueYCAXk8waVWaC+7KGZbU2HiHevQOs640EEV09bs8OJtKI9I4Z5U2 lGGgaQzCYv2qdgPqqvPrKZGlzyHap/clOII/kqy9nAxUb29F1GGZd8ptGTeCJ8Zi SRNgL2uUwxVGJIxjLfzEMxyvkwYBT5hLkbocI0d9XNfoA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4e3579bf (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 4 Sep 2022 18:33:08 +0000 (UTC) Date: Sun, 4 Sep 2022 20:32:58 +0200 From: Julien Lepiller Message-ID: <20220904203258.697e39dc@sybil.lepiller.eu> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix! Today I ran "guix home delete-generations" to remove my old home generations. It removed generations 0 and 17. I'm on generation 18. Then I ran "guix gc" and after I noticed I couldn't run a program from my window manager (its menu is managed from guix home), I tried to look at what was happening. My config files managed by guix home are now symlinks that point to non existent store items. Spooky. Please let me know how I can help diagnose the issue From unknown Mon Jun 23 23:55:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Julien Lepiller Subject: bug#57585: closed (Re: bug#57585: guix gc removed home config) Message-ID: References: <20220904211758.313e13c0@sybil.lepiller.eu> <20220904203258.697e39dc@sybil.lepiller.eu> X-Gnu-PR-Message: they-closed 57585 X-Gnu-PR-Package: guix Reply-To: 57585@debbugs.gnu.org Date: Sun, 04 Sep 2022 19:19:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1662319141-14336-1" This is a multi-part message in MIME format... ------------=_1662319141-14336-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57585: guix gc removed home config which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 57585@debbugs.gnu.org. --=20 57585: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57585 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1662319141-14336-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57585-close) by debbugs.gnu.org; 4 Sep 2022 19:18:20 +0000 Received: from localhost ([127.0.0.1]:45725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUv8N-0003iK-KE for submit@debbugs.gnu.org; Sun, 04 Sep 2022 15:18:19 -0400 Received: from lepiller.eu ([89.234.186.109]:53592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUv8F-0003i5-Tz for 57585-close@debbugs.gnu.org; Sun, 04 Sep 2022 15:18:17 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 8ab53c8a for <57585-close@debbugs.gnu.org>; Sun, 4 Sep 2022 19:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=Koxm8rPipFCK 6vMccLaCJRaY+1zy63obqw3ZBCv7DOc=; b=SYUIeg4k2rT8lPaiRshsXmc6fcTY 8BhrcWOT1lCkE41TKGG6C7KPEI1gnPm6C4XdW2LvsXrMsk2rtYMcOi+gB58SQUv7 aiyIvBV3E25lvUbArq8MkFcwAjTXr2iYaAOz4VXx+wY/OgGGkxIP1M+/Llj1DbIn FHTFeY0WzPIKXpYLcPyvRFL3WPAnnsKQdFilOBy15ojiYcn/+e7vA9JWze8MZwXM l2WINJqvbJhmlACUEROIBQFgF4X5yE2v2QaCzrRDCVTkcnTsIJYKZyY4Fn4NFlbr yhCdNSGG7T2UU8vicqotiC+07EA7Y6DaFUvJXCoglgnkaZJGcEzDS0nFrQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 2b3871b4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <57585-close@debbugs.gnu.org>; Sun, 4 Sep 2022 19:18:04 +0000 (UTC) Date: Sun, 4 Sep 2022 21:17:58 +0200 From: Julien Lepiller To: 57585-close@debbugs.gnu.org Subject: Re: bug#57585: guix gc removed home config Message-ID: <20220904211758.313e13c0@sybil.lepiller.eu> In-Reply-To: <20220904203258.697e39dc@sybil.lepiller.eu> References: <20220904203258.697e39dc@sybil.lepiller.eu> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57585-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Actually I figured this out: Generation 16 used an older guix version where guix home added a . at the end of file names, so my config looked like this: (simple-service 'xfce4-terminal home-files-service-type =20 `(("config/xfce4/terminal/terminalrc" ,(local-file "files/xfce4-terminal/terminalrc")))) Then, I updated Guix without changing my home configuration, so on generation 17, guix home created $HOME/config instead of $HOME/.config. So $HOME/.config/xfce4/terminal/terminalrc (and all other config files) kept pointing to generation 16's files. After removing the generation and "guix gc", these files no longer exist, and I'm in trouble :) So, guix home and guix gc are working as intended, but the change to no longer adding a "." at the beginning of file names (which makes total sense) tripped me up. Le Sun, 4 Sep 2022 20:32:58 +0200, Julien Lepiller a =C3=A9crit : > Hi Guix! >=20 > Today I ran "guix home delete-generations" to remove my old home > generations. It removed generations 0 and 17. I'm on generation 18. >=20 > Then I ran "guix gc" and after I noticed I couldn't run a program from > my window manager (its menu is managed from guix home), I tried to > look at what was happening. My config files managed by guix home are > now symlinks that point to non existent store items. Spooky. >=20 > Please let me know how I can help diagnose the issue >=20 >=20 >=20 ------------=_1662319141-14336-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Sep 2022 18:34:29 +0000 Received: from localhost ([127.0.0.1]:45682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUuRx-0002aw-0U for submit@debbugs.gnu.org; Sun, 04 Sep 2022 14:34:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:36846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUuRu-0002ao-LV for submit@debbugs.gnu.org; Sun, 04 Sep 2022 14:34:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUuRu-0005Oc-8c for bug-guix@gnu.org; Sun, 04 Sep 2022 14:34:26 -0400 Received: from lepiller.eu ([89.234.186.109]:51520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUuRr-0004dL-FR for bug-guix@gnu.org; Sun, 04 Sep 2022 14:34:25 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 152e1788 for ; Sun, 4 Sep 2022 18:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=dkim; bh=ls+iqMRAo2b6QkjhU7hIU3nq/ y/cORQ8v+LB6IJLAcc=; b=V1G6lir0Z6vGruNWJtDGjo6CpbWcFdUmvj2wvyzS5 GQt03QHftRWyuHdK1J3CnPT8MjATWx5gTHq2qVwHdPkwBY9uDUfoNgbLidr8cteQ siHlXNVGIoPYmOX7UFRnXKyNhNwejQd/n4lSJS2XKebPQNfLb2JiwiTeyOIHbHym DsrzEfkYpI/ueYCAXk8waVWaC+7KGZbU2HiHevQOs640EEV09bs8OJtKI9I4Z5U2 lGGgaQzCYv2qdgPqqvPrKZGlzyHap/clOII/kqy9nAxUb29F1GGZd8ptGTeCJ8Zi SRNgL2uUwxVGJIxjLfzEMxyvkwYBT5hLkbocI0d9XNfoA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4e3579bf (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 4 Sep 2022 18:33:08 +0000 (UTC) Date: Sun, 4 Sep 2022 20:32:58 +0200 From: Julien Lepiller To: bug-guix@gnu.org Subject: guix gc removed home config Message-ID: <20220904203258.697e39dc@sybil.lepiller.eu> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix! Today I ran "guix home delete-generations" to remove my old home generations. It removed generations 0 and 17. I'm on generation 18. Then I ran "guix gc" and after I noticed I couldn't run a program from my window manager (its menu is managed from guix home), I tried to look at what was happening. My config files managed by guix home are now symlinks that point to non existent store items. Spooky. Please let me know how I can help diagnose the issue ------------=_1662319141-14336-1-- From unknown Mon Jun 23 23:55:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57585: guix gc removed home config Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Sep 2022 06:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57585 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller , 57585-close@debbugs.gnu.org Received: via spool by 57585-done@debbugs.gnu.org id=D57585.166235773421459 (code D ref 57585); Mon, 05 Sep 2022 06:03:02 +0000 Received: (at 57585-close) by debbugs.gnu.org; 5 Sep 2022 06:02:14 +0000 Received: from localhost ([127.0.0.1]:46163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oV5BV-0005a1-U8 for submit@debbugs.gnu.org; Mon, 05 Sep 2022 02:02:14 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:47959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oV5BS-0005Zg-R2 for 57585-close@debbugs.gnu.org; Mon, 05 Sep 2022 02:02:12 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id DA32E1BF205; Mon, 5 Sep 2022 06:02:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1662357724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OFD/DXRLNVAzLdYZ4dCoocPCTi1WaUDQUVewWa2qHhs=; b=U2SRPyiI4gAv5oqbSdcRpmkRsuEuEQlfoo4zUv61m0k753cHYH6veUKT84CwXw3U3QbuwA tNn5p14kSZSyHdMcQ9rmcaAKBeWkZtXpi90Gt/Qutey8uYwWTzIrFOx1YyA12VU27HNjK9 6CUDG0kmeQyNgpg9WJxdUy4PM2iKUakRh4f4A4PJEgbvnHnD+VYYVevz98n9kQTgkiN9D8 PPV3Brbe6wyxToOYW0nGKbTdvZ00KTCiEMESIlMCtkZ9KnL433QIqwMGBHKLsBrlZKCnee ZsDSqCaK6/ZsCzdaDTSA0XkGns2gLBo8H4Rb3iun1kBla9wUIDL1jrphO2MCxg== From: Andrew Tropin In-Reply-To: <20220904211758.313e13c0@sybil.lepiller.eu> References: <20220904203258.697e39dc@sybil.lepiller.eu> <20220904211758.313e13c0@sybil.lepiller.eu> Date: Mon, 05 Sep 2022 09:01:58 +0300 Message-ID: <87ilm2xstl.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-09-04 21:17, Julien Lepiller wrote: > Actually I figured this out: > > Generation 16 used an older guix version where guix home added a . at > the end of file names, so my config looked like this: > > (simple-service 'xfce4-terminal home-files-service-type=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 > `(("config/xfce4/terminal/terminalrc" > ,(local-file > "files/xfce4-terminal/terminalrc")))) > > Then, I updated Guix without changing my home configuration, so on > generation 17, guix home created $HOME/config instead of $HOME/.config. > So $HOME/.config/xfce4/terminal/terminalrc (and all other config files) > kept pointing to generation 16's files. After removing the generation > and "guix gc", these files no longer exist, and I'm in trouble :) BTW, there is xdg-configuration-files-service-type, which hides away those details and helps to migrate seamlessly. May be helpful for future readers: https://guix.gnu.org/en/manual/devel/en/guix.html#index-home_002dxdg_002dco= nfiguration_002dfiles_002dservice_002dtype > > So, guix home and guix gc are working as intended, but the change to > no longer adding a "." at the beginning of file names (which makes > total sense) tripped me up. > > Le Sun, 4 Sep 2022 20:32:58 +0200, > Julien Lepiller a =C3=A9crit : > >> Hi Guix! >>=20 >> Today I ran "guix home delete-generations" to remove my old home >> generations. It removed generations 0 and 17. I'm on generation 18. >>=20 >> Then I ran "guix gc" and after I noticed I couldn't run a program from >> my window manager (its menu is managed from guix home), I tried to >> look at what was happening. My config files managed by guix home are >> now symlinks that point to non existent store items. Spooky. >>=20 >> Please let me know how I can help diagnose the issue >>=20 >>=20 >>=20 > > > > =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmMVkNYACgkQIgjSCVjB 3rDbXw//WHS0FuvejkgID2DN+HVgkxm+c8s6pW6arsoXmGqE67Dm3frYucyJGxUz vnpsWQmcy4Ks28SxXETI3j8kXjAatxfwasZNSF1+euV8Nku3kIUOGdrM/ILenPiw 553VbxdLkxnGeVOm9fpNsiA8+bvx5DHlIbMZcpNkID06ONlYQB6e5A+qcmBi/pt/ xgrl5M2EC10NS5+Ay2EgVONBjrrPndIGqe269kTebjx4iSU8BnEUJG4MygSvgkem SONgNqR6vqsi2RnMPr9xHQOl36hSZJr38lcQyYEmIiIVlhtmhhrQKybf03Km1tsh +vvyVy241XVs42CNpU6bilyKPXSuo5L+FO2Q4CxNB3doPflVPsiX9jxbkuTapCz+ 8LuoMTH4TKTuhkPcFlstng1S3BcsDLg7rb2BDOJ+yvLLmPN0DpiquETRwa9U+IJ2 UcfRSk72EyJUK779gf1Agc+aDAN7+RyigLY56JPu7dW034SqXmHckzDDI2W/Xupj qzeuW0r958FnlRD9kvkDyr9YUL6sv3QXOBZXeMivsEjCouQwJzCqhJ3W5nYlFBmM NDQxz3FxU9IDPPlZTJUjei32qb6jjBH6CRnwvTWnT8fapRx2xk5JNix7vv6hkD6Y DFlJaaPuZI+pOGXw7rwYDCmeBY1V4d9+n++gYWVkq8GcqJT+IUw= =Rs4l -----END PGP SIGNATURE----- --=-=-=--