From unknown Mon Jun 23 23:51:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57585 <57585@debbugs.gnu.org> To: bug#57585 <57585@debbugs.gnu.org> Subject: Status: guix gc removed home config Reply-To: bug#57585 <57585@debbugs.gnu.org> Date: Tue, 24 Jun 2025 06:51:41 +0000 retitle 57585 guix gc removed home config reassign 57585 guix submitter 57585 Julien Lepiller severity 57585 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 04 14:34:29 2022 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 04 15:18:19 2022 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 05 02:02:14 2022 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 To: Julien Lepiller , 57585-close@debbugs.gnu.org Subject: Re: bug#57585: guix gc removed home config 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-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.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----- --=-=-=-- From unknown Mon Jun 23 23:51:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 03 Oct 2022 11:24:17 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator