From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +JFKFy2RFWMISgAAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 08:03:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EMlbFi2RFWNldwEAG6o9tA (envelope-from ) for ; Mon, 05 Sep 2022 08:03:25 +0200 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 0F5B815B61 for ; Mon, 5 Sep 2022 08:03:25 +0200 (CEST) Received: from localhost ([::1]:50134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV5Ce-00059t-8d for larch@yhetil.org; Mon, 05 Sep 2022 02:03:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV5CI-00059T-Sr for bug-guix@gnu.org; Mon, 05 Sep 2022 02:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV5CI-00004y-JI for bug-guix@gnu.org; Mon, 05 Sep 2022 02:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oV5CI-0005bY-Av for bug-guix@gnu.org; Mon, 05 Sep 2022 02:03:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662357805; h=from:from:sender:sender: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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=OFD/DXRLNVAzLdYZ4dCoocPCTi1WaUDQUVewWa2qHhs=; b=iqlv3+ndysRLljmk3Ow0J5AwWssB2mAcaZbJimCVPpswoF8FZF/C2JacW3gNemrTmoKff3 s786ZbjXVOyVSGmsICykwsc56BPWwO+w5rO5qS1eF661LoZre7Mo7blTyoRVbSxE6+VAKf L+99xJowPPEeNIrUVVv+Kg82aMPONGTbeC5QJ57c30Rqk1z++gD3SqfMC5OJBMPmWKk5PK uH5ly3aJGu9reDgCuZeBZ9CKPuMImcwyEaJ8NlZ7UUJEM0d8OLGNeAu26s2vLJqikaxnQt ZYgbeGBWuQcDJDqaFOcaWQCfViqrmtWlhj8fMH/yZHF11LuWtwi65h47Yivflg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662357805; a=rsa-sha256; cv=none; b=FcUjMxXvP2yN08gncW/DvZKq0FX0Joqqf/CIJVS+QcBJ9IFJl2jgbkrD/SkfkuQNuez3FI 5E91tZAgsynjbHBNDdEfgfxiUI685R0WJZ0MqsYi8um96dbL3M8gmQdKhjt8Inst0iHdj2 0GAk1j5WNxBtD88Q15AGKGGs0ZNiwo6J9+jScSI5/zjdTJIfWfY+opFu4FOMRKVk9KMoJZ Y1rQur1uwPv4Bv9kjr8RVCmc0cS2Gwm1JLtdQHtD1d3ig0IL6xK4srOokuHpevrRjlqDib /ybT57BafDwCmqKSMaUaDJFX1N06+HMlIkmoDUb/jkGp9WCVQYYyIqqz+1ldtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=U2SRPyiI; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=U2SRPyiI; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0F5B815B61 X-Spam-Score: -0.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2XooU7RSfump --=-=-= 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----- --=-=-=--