From unknown Tue Jun 17 20:05:58 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#68532 <68532@debbugs.gnu.org> To: bug#68532 <68532@debbugs.gnu.org> Subject: Status: git-crypt can fail after guix gc Reply-To: bug#68532 <68532@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:05:58 +0000 retitle 68532 git-crypt can fail after guix gc reassign 68532 guix submitter 68532 TakeV severity 68532 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 17 10:46:46 2024 Received: (at submit) by debbugs.gnu.org; 17 Jan 2024 15:46:46 +0000 Received: from localhost ([127.0.0.1]:53071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQ87p-00029i-TZ for submit@debbugs.gnu.org; Wed, 17 Jan 2024 10:46:46 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQ87n-00023y-VY for submit@debbugs.gnu.org; Wed, 17 Jan 2024 10:46:44 -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 1rQ87h-0002oo-BT for bug-guix@gnu.org; Wed, 17 Jan 2024 10:46:37 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQ87f-0004HA-3Z for bug-guix@gnu.org; Wed, 17 Jan 2024 10:46:36 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1A13241AA3 for ; Wed, 17 Jan 2024 16:46:32 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pb2myyiwUwRk for ; Wed, 17 Jan 2024 16:46:31 +0100 (CET) Message-ID: <8710e147-be78-ca61-441a-bc9e49d098ea@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1705506391; bh=TqKO8ZKWMOpSAgpk49KVkwGhgnfFtMHbE+4/7dMiqg0=; h=Date:To:From:Subject; b=I/d7eYhZudzzkvInCKXN287aY/ECrYYZKCXrH0hPyrdSzdlIJnw865efp0oagHMq1 BiiAHB763OrL3XKVSonts1oxXExfTakavNmoe7Xk/hgVhHFbOUBc+hGcTFRnMNmy8r gwOqhVClYySm5RqruZAxiEOZnCNKKzMBfpsA7c52l7G4yFeuZNd67ArycsU5+d/HvS Dnu0C4g5UxYNmVxcedvvaWByjyxH67rPK2ZP4MxIN89oisxKYHkv8UvzGTUZ0gwjXK b6pEXiyMFZDuhcJcZI6AQ2LwFJNk4W24TvEZHgcgmtUs5pfh1cizqrUeQnBwsM3zYG DU/gM/kzM4qGg== Date: Wed, 17 Jan 2024 10:46:28 -0500 MIME-Version: 1.0 Content-Language: en-US To: bug-guix@gnu.org From: TakeV Subject: git-crypt can fail after guix gc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------iVBs0td9Vkp1i0w5tmvSeP8w" Received-SPF: pass client-ip=178.21.23.139; envelope-from=takev@disroot.org; helo=layka.disroot.org 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_NONE=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: 0.9 (/) 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: -0.1 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------iVBs0td9Vkp1i0w5tmvSeP8w Content-Type: multipart/mixed; boundary="------------lT3BOFmqf0pGqRu52yLboWuK"; protected-headers="v1" From: TakeV To: bug-guix@gnu.org Message-ID: <8710e147-be78-ca61-441a-bc9e49d098ea@disroot.org> Subject: git-crypt can fail after guix gc --------------lT3BOFmqf0pGqRu52yLboWuK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SSBzZXQgdXAgYSBnaXQgcmVwbyB3aGljaCB1c2VzIGdpdC1jcnlwdCBhIHdoaWxlIGJhY2ss IGhvd2V2ZXIgaXQgc2VlbXMgDQp0byBoYXZlIGJyb2tlbiBpbiB0aGUgdGltZSBiZXR3ZWVu IHRoZW4gYW5kIG5vdy4NCg0KTG9va2luZyBpbnRvIGhvdyBnaXQtY3J5cHQgc2VlbXMgdG8g aGFuZGxlIHRoaW5nczsgcnVubmluZyB0aGUgaW5pdGlhbCANCmluaXQgY2F1c2VzIHRoZSBm dWxsIHBhdGggdG8gdGhlIGdpdC1jcnlwdCBiaW5hcnkgdG8gYmUgd3JpdHRlbiB0byB0aGUg DQpnaXQgY29uZmlnIGZpbGUgKC5naXQvY29uZmlnKSBhcyBhIGZpbHRlci4NCg0KSWYgb25l IGhhcyBjcmVhdGVkIGEgcmVwbyB1c2luZyBnaXQtY3J5cHQsIGFuZCBzb21lIHRpbWUgbGF0 ZXIgcnVucyBndWl4IA0KZ2MsIHRoZW4gdGhlIG9sZCBwYXRoIHRvIHRoZSBnaXQtY3J5cHQg YmluYXJ5IGxpa2VseSB3aWxsIGJlIGRlbGV0ZWQsIA0KY2F1c2luZyBnaXQtY3J5cHQgdG8g YnJlYWssIGFzIGl0IGlzIHVuYWJsZSB0byBsb2NhdGUgdGhlIGJpbmFyeS4NCg0KT25lIHdv cmthcm91bmQgY291bGQgYmUgcnVubmluZyBnaXQtY3J5cHQgaW4gYSBzaGVsbCwgYW5kIHJl Z2lzdGVyaW5nIGl0IA0KYXMgYSBnYXJiYWdlIGNvbGxlY3RvciByb290IHNvIHRoYXQgdGhl IG9yaWdpbmFsIGdpdC1jcnlwdCBpbnN0YWxsIGlzIA0KcHJlc2VydmVkLCBidXQgdGhhdCBz ZWVtcyBsaWtlIGl0IHdvdWxkIG5vdCBiZSBhbiBvcHRpbWFsIGxvbmcgdGVybSBmaXguIA0K VXBkYXRpbmcgdGhlIGNvbmZpZyBmaWxlIGJ5IGhhbmQgYWxzbyBzZWVtcyB0byBmaXggdGhl IGlzc3VlLCB0aG91Z2ggDQp0aGF0IHJvdXRlIGlzIHNpbWlsYXJseSBhIHNob3J0IHRlcm0g Zml4Lg0KDQo= --------------lT3BOFmqf0pGqRu52yLboWuK-- --------------iVBs0td9Vkp1i0w5tmvSeP8w Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsD5BAABCAAjFiEEEIYybeIHBowcAlEppk9BNFx0AK8FAmWn9lQFAwAAAAAACgkQpk9BNFx0AK8f fgwAvME20LraBeclTlDM3m0wVrONzFsg501p8K22NbSHUWME/AYs7OyR59dRxZ9lE3dnACMD30pJ GaH8f9zPYSMWvH9ib+8nRFQwNRiXDmBK9z5qtJOoEm6hUQ3jC3fL5PAMA66FJ+C5k34Qlwr25nFI tHgwa4+jagrFU01u5RE6icWup089oXzSO+uKcJkzkZ+Av//RiiWy6Ds432wD2JPUq03T0ehI4Xgb mHAeH8Xsjjwdb/nedOrT9NJTIGBmfCjzH6UmrN61ZqqMxPKlo8tH3CBHYb+qFmnXwiRj+imzczkR 8uZ2k3mnkXCPAD8ptrCPiJOT9pxg2468lUfM7cdNpQQpFfXAKtUnjctCUAkME58KA4wHTV59WYS3 m2sw8lbqBot9kB/8QMwyTHUoPFyLEgye0+sgyqwmB7/a3mLeGmnDHPfJSTgS+R940FPbjsRiY0Ca DQeWHd/Qaw40vNB2of8JwuVjL/b+Pln2eGleG1S2S0jyYPpNr2IJN46QKGEo =snTh -----END PGP SIGNATURE----- --------------iVBs0td9Vkp1i0w5tmvSeP8w-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 24 10:17:19 2025 Received: (at 68532) by debbugs.gnu.org; 24 Apr 2025 14:17:19 +0000 Received: from localhost ([127.0.0.1]:39755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7xOB-00014C-7B for submit@debbugs.gnu.org; Thu, 24 Apr 2025 10:17:19 -0400 Received: from mail-oo1-xc35.google.com ([2607:f8b0:4864:20::c35]:51257) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u7xO8-00013o-HR for 68532@debbugs.gnu.org; Thu, 24 Apr 2025 10:17:17 -0400 Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-6064d4c14ebso76225eaf.2 for <68532@debbugs.gnu.org>; Thu, 24 Apr 2025 07:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1745504230; x=1746109030; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SH+oGIMwX7fR33qskgyr/8Q9HzPDwiMrDZNmKEp0vWQ=; b=EsO+P/+Vq8EAjdxI3yU/5tRiiLQUDKYtybzowdBocpIU+QeCDZozbQ+iSsv49BOxv/ CLoP2RFvWVwrgiDIiA2mXEYEYt6AX1szXE/Xjdsn9D1+fwZAmlFFpDXeT7tGjE0XVTeu Ve2sAzF/LKqcioFTq8Jru/4wcVuq2LpBF6nB0NRQNlul8obK/pw9uYXf91gWVClvLc72 KWx2CSnA6PSOcuJZByHKtX4p5ErQR1NchAkEpgYOGRtBgqy83f8wYacwr+F/T+9ujDiG LMJPsdPNhn6AOu+TUMfWYTLLGSLT72pITrhXYQVd0UnIfu1MmGqtWsME5mrxPOlUIIJl GBEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745504230; x=1746109030; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SH+oGIMwX7fR33qskgyr/8Q9HzPDwiMrDZNmKEp0vWQ=; b=vA++dC3SFpnVcfac/DctGbEjMMZZWWYZRiDGZ6/J1Q/zwI1ez5dNf0gTat0m+tm9KL I2LYZqJnYXtleYP2MjGFloHXAz6PLGZEQVmC2DIJvbung/oxSVQPZWXrIA8R8UiI9x+6 A846YrCkuXPYu37ISVwwJpTlnIRw9BBeDj90Gyk2wf3zwGzEnrGiee4n8XmKGnJ+Spfs YGj6fkuAPqCsp8i1UESiOc+QBJVeFcX95L1hoL9oems1kzJwbkkHIDGu66Ysj4+Zcn6Y sTEWlG1+QRIJWd/paE2EAoIwifjfH0s8BozVG+R7o1oiIgcrYaNS4eobneJk6U6JQ54F yBfg== X-Gm-Message-State: AOJu0YzFQW8OFrzr0h3qA0d09fGD0zwUE+n1/ZQR3Vl88jbU+csv5+uG miK+LYKN6LJAsvog+EY7L60V43rIVOu/+7sDin3XTTsmUU3vGMDcoMmHk6caUXeGGdSt/AqIhQ7 nn0FAQ+SVBA0x52dSA8+OtJivu96el19He2eOyw== X-Gm-Gg: ASbGncuns9HWPTFKn2ZXqrfnfPHAEDtxlrdrxBWBUZ6cM630CYLVkWpVIyOXuQ7daZo P/5CjJyRd4SbSemKahloBW8jICRp45js+RO6g//WaaOw97nvPFOQ8EFK0fOLcRquRlNDqegZLfa WP03r1K6cYf0Zh6cn1JaFyDA== X-Google-Smtp-Source: AGHT+IFH/GsDurQPMReb2dgl0w3EBLmQnZEg45P75vLmSQpXC8nDBX+GrJAoHUuMVxw7l2mMj48NRFc9BNeadW3CesM= X-Received: by 2002:a05:6870:7007:b0:2d4:e101:13eb with SMTP id 586e51a60fabf-2d96e68f2ffmr1649864fac.28.1745504229861; Thu, 24 Apr 2025 07:17:09 -0700 (PDT) MIME-Version: 1.0 References: <8710e147-be78-ca61-441a-bc9e49d098ea@disroot.org> In-Reply-To: <8710e147-be78-ca61-441a-bc9e49d098ea@disroot.org> From: Greg Hogan Date: Thu, 24 Apr 2025 10:16:58 -0400 X-Gm-Features: ATxdqUHJQTEKmFDEltjRqdIqOwp6OaTeyheJOIps4C6zjBG9CaIPnUxv5xIBqVI Message-ID: Subject: Re: bug#68532: git-crypt can fail after guix gc To: TakeV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 68532 Cc: 68532@debbugs.gnu.org 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 (-) On Wed, Jan 17, 2024 at 10:47=E2=80=AFAM TakeV via Bug reports for GNU Guix wrote: > > I set up a git repo which uses git-crypt a while back, however it seems > to have broken in the time between then and now. > > Looking into how git-crypt seems to handle things; running the initial > init causes the full path to the git-crypt binary to be written to the > git config file (.git/config) as a filter. > > If one has created a repo using git-crypt, and some time later runs guix > gc, then the old path to the git-crypt binary likely will be deleted, > causing git-crypt to break, as it is unable to locate the binary. > > One workaround could be running git-crypt in a shell, and registering it > as a garbage collector root so that the original git-crypt install is > preserved, but that seems like it would not be an optimal long term fix. > Updating the config file by hand also seems to fix the issue, though > that route is similarly a short term fix. I am not seeing any changes or updates to the git-crypt package since this issue was opened, but I am also not seeing the full path to the git-crypt binary when I "git init" and "git-crypt init" a new repo: $ cat .git/config [core] repositoryformatversion =3D 0 filemode =3D true bare =3D false logallrefupdates =3D true [filter "git-crypt"] smudge =3D \"git-crypt\" smudge clean =3D \"git-crypt\" clean required =3D true [diff "git-crypt"] textconv =3D \"git-crypt\" diff