From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: GIT_SSL_CAINFO set incorrectly Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Jan 2017 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25422@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148416700711931 (code B ref -1); Wed, 11 Jan 2017 20:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jan 2017 20:36:47 +0000 Received: from localhost ([127.0.0.1]:50212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRPdX-00036N-Jb for submit@debbugs.gnu.org; Wed, 11 Jan 2017 15:36:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRPdW-00036B-7m for submit@debbugs.gnu.org; Wed, 11 Jan 2017 15:36:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRPdQ-0007MM-6E for submit@debbugs.gnu.org; Wed, 11 Jan 2017 15:36:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55704) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRPdQ-0007MG-2z for submit@debbugs.gnu.org; Wed, 11 Jan 2017 15:36:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRPdN-0006eZ-VC for bug-guix@gnu.org; Wed, 11 Jan 2017 15:36:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRPdK-0007Ld-RL for bug-guix@gnu.org; Wed, 11 Jan 2017 15:36:38 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55519) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRPdK-0007LS-Mr for bug-guix@gnu.org; Wed, 11 Jan 2017 15:36:34 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 30B2520B9D; Wed, 11 Jan 2017 15:36:33 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 11 Jan 2017 15:36:33 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=m3X y/JTmIxdMWUeNU+NqbmXzgNI=; b=jXUmArMU8QaY+lqUbQC+ZaGhy4/AYQzM7Io bll3QyTJut3FmoGwgyqAT+0tk5M/cKSZuJUU2BC5T+76XMze+m8hahrYNplQmEKZ aA8bm0Mp36vIWNTp4gDjDfMiZ4XjHvSxLm2QaoLYdgVQTyV51oAxHvyrAv++w6AT 5nQBHAQQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=smtpout; bh=m3Xy/JTmIxdMWUeNU+NqbmXzgNI=; b=frDkS muSfIY70oJFKaVfAxn2QG7C6Vg/w7JKK8F06lHfoSX22vpexwf3Mfeqf2YH+szua myIM4cKet0BgMlmWiOaBFYI8t5/rVRDIFGHdfJy5AxA5ZcRBUK9nippRYsCZXsem yLG1VFRehMi5uTOWOopm74/LMoJmYCQtMskf9Y= X-ME-Sender: X-Sasl-enc: pg7BBzs70OGDia7KkjygOCtxzBNVTUnlp2PpVPDTK754 1484166992 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id E4BAA241DF for ; Wed, 11 Jan 2017 15:36:32 -0500 (EST) Date: Wed, 11 Jan 2017 15:36:31 -0500 From: Leo Famulari Message-ID: <20170111203631.GA30202@jasmine> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -4.1 (----) --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Recently, Guix started to set the environment GIT_SSL_CAINFO like a search path, instead of pointing to single file, which is what it should be. This makes Git unable to access remotes over HTTPS. It show a message like this: fatal: unable to access 'https://example.com/repo.git': Problem with the SSL CA cert (path? access rights?) I think this used to work "out of the box", at least on GuixSD. --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlh2l0gACgkQJkb6MLrK fwiHjQ/7Bi0/VsIeBeh4CNxvD9vhN8/0w+kv68pueJ1G7kwXXV676xom9ObeiMB4 sW/BCkmKLfagESMkIparKbzqrEKjBbHieF7srmewEqkQnbOYi8qGNOu4QU9NJApx 0zGVgzdEqBGQkmYpUdt8nCH7bFM0Z00p0BVVfRE0mkmkTyIhLl/KUB5vEjPN/u89 v1FsjKlgwhhdlhvbLe4Pf1EMUFNZvxVCjAao/uG+0NX87wkY5W73AM1+7Tn4Bg6V ElmJw9yqf8UTKgJ+Onu4wafeNY1u/kHwaMr+apryEomMZ7xjfay2lfUEVqm0fPZ7 b5sKTEihQaEDxGRL3dgnm5JuTx9v6qqiH8r2wI9udYzU2g3E5Sxaho4jqP56l9bV MG2WKrCDcSULZQv9v/eKh4QHBhjwb7xo5BDA0XR3ib5A0mwmOcp5qJ/1Mau2Knbh /TPqlLpfGOOAus/En85KgcL0R8pNjQtYqn3RLvVhkvdXxuMf6nigX2l9Nq3SYvhf 9xv/9lnuYr9mKXmqlnJUvJKJtyjOLhzuRRB5w0rTQMWYbTDIFOHq+H5tNotM4Xh/ xg4LAPKzg3LFNaWxVyqDoZMjFpzhAN7LVn03U89unmgfbHjP3+7tzIf5W73v66Un Dby1gioRQ0Pw/L4Pe7Fky6yQ6q7tnTNWOe8exIBkirXocjNoduo= =2cLY -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: GIT_SSL_CAINFO set incorrectly Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 14 Jan 2017 21:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 25422@debbugs.gnu.org Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148442887127604 (code B ref 25422); Sat, 14 Jan 2017 21:22:02 +0000 Received: (at 25422) by debbugs.gnu.org; 14 Jan 2017 21:21:11 +0000 Received: from localhost ([127.0.0.1]:54220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSVl8-0007B9-Us for submit@debbugs.gnu.org; Sat, 14 Jan 2017 16:21:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSVl8-0007Ay-7x for 25422@debbugs.gnu.org; Sat, 14 Jan 2017 16:21:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSVkz-0005zu-Uq for 25422@debbugs.gnu.org; Sat, 14 Jan 2017 16:21:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSVkz-0005zq-RA; Sat, 14 Jan 2017 16:21:01 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:39204 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cSVkz-0003KN-1x; Sat, 14 Jan 2017 16:21:01 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170111203631.GA30202@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 =?UTF-8?Q?Niv=C3=B4se?= an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 14 Jan 2017 22:20:59 +0100 In-Reply-To: <20170111203631.GA30202@jasmine> (Leo Famulari's message of "Wed, 11 Jan 2017 15:36:31 -0500") Message-ID: <87h951jq2s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) 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: -8.2 (--------) Hi! Leo Famulari skribis: > Recently, Guix started to set the environment GIT_SSL_CAINFO like a > search path, instead of pointing to single file, which is what it should > be. I don=E2=80=99t think anything has changed, maybe it=E2=80=99s just that yo= ur profile now includes =E2=80=98ssl/certs=E2=80=99? On my GuixSD machine, I still have: $ env |grep GIT_ GIT_SSL_CAINFO=3D/etc/ssl/certs/ca-certificates.crt but that=E2=80=99s because ~/.guix-profile does not contain certificates. At any rate, you are right that GIT_SSL_CAINFO should be a single file. There=E2=80=99s a note in the code: (native-search-paths ;; For HTTPS access, Git needs a single-file certificate bundle, specif= ied ;; with $GIT_SSL_CAINFO. ;; FIXME: This variable designates a single file; it is not a search pa= th. (list (search-path-specification (variable "GIT_SSL_CAINFO") (file-type 'regular) (files '("etc/ssl/certs/ca-certificates.crt"))))) So we=E2=80=99re abusing the search path mechanism here. A proper fix might be to add an option in =E2=80=98search-path-specificatio= n=E2=80=99 to pick only the first match. WDYT? Thanks, Ludo=E2=80=99. From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: GIT_SSL_CAINFO set incorrectly References: <20170111203631.GA30202@jasmine> In-Reply-To: <20170111203631.GA30202@jasmine> Resent-From: Mekeor Melire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 Jan 2017 04:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25422@debbugs.gnu.org Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148488649028313 (code B ref 25422); Fri, 20 Jan 2017 04:29:01 +0000 Received: (at 25422) by debbugs.gnu.org; 20 Jan 2017 04:28:10 +0000 Received: from localhost ([127.0.0.1]:35965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUQo6-0007Mb-9O for submit@debbugs.gnu.org; Thu, 19 Jan 2017 23:28:10 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUQo4-0007MO-8O for 25422@debbugs.gnu.org; Thu, 19 Jan 2017 23:28:08 -0500 Received: by mail-wm0-f66.google.com with SMTP id d140so3782532wmd.2 for <25422@debbugs.gnu.org>; Thu, 19 Jan 2017 20:28:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=QDNnlaMjeKKeWaG6RwA4NRTTzCUsQ6oaFx2miAiLxc8=; b=q3uASXym811dq2FZCY0ZeMw0n3cfNZsQxu5NP1fJVTrhpRwxWVg2xh0oDP2AP67wDc NslqCSmoO71/YnLOPrKrzNb+73YsTx+yCCATSvhKJlA9myz8XLQCXMsMIZ4sS3XSEk8G kC+XLqQCb2lYmHdzr1ZMmC2ICHKi49GcTmEv2Xw4dmgOemty7NbHYmZVGjaDWpcS9v31 b5ch43ssSDC4bDo3v5OBHXh/rSjEtdSNJ6yQTyfRGL5eODM/re4Fq7SrGi2BWmjDfEWJ 1wY5DdlJgja5bGgTlHCPeTeQCWZX9NOsIjH3t9SDjCZZheVOAnLyNOWmRnf/CVqf6bs9 /QYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=QDNnlaMjeKKeWaG6RwA4NRTTzCUsQ6oaFx2miAiLxc8=; b=EwEd4YpP8ovP8B8Z3po0fYJi3HUc17FpMRsQrvAXovaMejQIbZ3xmYDNzXwgEWxQeG quraXX5zME7NaDfJfyZgH40pIcEpnQFVJEz9Eeu8kj+cuuDUzDuSJYYjDUF/+m7pKrk/ o4QUvCjdTT4uYVYJ+Z+rjxS5JwZRnRgPPdeslzZoXp0Roo8dSiryAfqIhc7zq/bCczuF C+ipBl4JCz+b23Prxas8XfVkPPq19KGZPikWi47mnnEbVFZmTXUCzqjEOlM+qdhZVvTQ rm6UQpZUUcV+b6ZUDcTfJNxmcXPsl0XVcqQpYXQU+ptERQoqazlWMbuN7um0a1QmHO1n 5E6w== X-Gm-Message-State: AIkVDXLM1/wC5emlIrQ0NmuUFXYJJHdiWwgoVQjSD0oQG4G45fofuI13P9FT6wWMMKF4Nw== X-Received: by 10.223.131.99 with SMTP id 90mr9813358wrd.146.1484886482193; Thu, 19 Jan 2017 20:28:02 -0800 (PST) Received: from localhost ([2001:a61:2220:f601:9ade:d0ff:fe15:14cb]) by smtp.gmail.com with ESMTPSA id l74sm3077135wmg.2.2017.01.19.20.28.01 for <25422@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jan 2017 20:28:01 -0800 (PST) Date: Fri, 20 Jan 2017 05:27:47 +0100 From: Mekeor Melire Message-ID: <20170120052747.5759c31b@gmail.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) 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.5 (/) I'm experiencing the same issue. I recently installed GuixSD freshly and encountered this bug. Adding an option to `search-path-specification' seems like a good idea. Still, I wonder what this snippet from (gnu system) does: (define (operating-system-environment-variables os) "Return the environment variables of OS for @var{session-environment-service-type}, to be used in @file{/etc/environment}." `(("LANG" . ,(operating-system-locale os)) ("TZ" . ,(operating-system-timezone os)) ("TZDIR" . ,(file-append tzdata "/share/zoneinfo")) ;; Tell 'modprobe' & co. where to look for modules. ("LINUX_MODULE_DIRECTORY" . "/run/booted-system/kernel/lib/modules") ;; These variables are honored by OpenSSL (libssl) and Git. ("SSL_CERT_DIR" . "/etc/ssl/certs") ("SSL_CERT_FILE" . "/etc/ssl/certs/ca-certificates.crt") ("GIT_SSL_CAINFO" . "/etc/ssl/certs/ca-certificates.crt") From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: [PATCH 0/2] Support single-entry search paths Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 22 Jan 2017 21:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25422@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148512198123142 (code B ref 25422); Sun, 22 Jan 2017 21:53:02 +0000 Received: (at 25422) by debbugs.gnu.org; 22 Jan 2017 21:53:01 +0000 Received: from localhost ([127.0.0.1]:38504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVQ4K-00061B-So for submit@debbugs.gnu.org; Sun, 22 Jan 2017 16:53:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVQ4J-00060p-Hw for 25422@debbugs.gnu.org; Sun, 22 Jan 2017 16:52:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVQ4D-0006Db-MK for 25422@debbugs.gnu.org; Sun, 22 Jan 2017 16:52:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVQ48-0006BK-GW; Sun, 22 Jan 2017 16:52:48 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:37278 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cVQ47-0000pk-OE; Sun, 22 Jan 2017 16:52:48 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 22 Jan 2017 22:51:59 +0100 Message-Id: <20170122215201.7948-1-ludo@gnu.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <87h951jq2s.fsf@gnu.org> References: <87h951jq2s.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) 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: -8.2 (--------) Hi! These patches for ‘core-updates’ add support for “single-entry” search paths like ‘GIT_SSL_CAINFO’. This is achieved by setting ‘separator’ to #f in the search path spec. Feedback welcome! Ludo’. Ludovic Courtès (2): guix package: Honor the order of profiles when -p appears multiple times. search-paths: Allow specs with #f as their separator. Makefile.am | 3 ++- gnu/packages/version-control.scm | 4 ++-- guix/build/profiles.scm | 24 ++++++++++++-------- guix/build/utils.scm | 13 ++++++++--- guix/scripts/package.scm | 4 ++-- guix/search-paths.scm | 28 ++++++++++++++++------- tests/guix-package-net.sh | 4 ++-- tests/packages.scm | 49 +++++++++++++++++++++++++++++++++++++++- tests/search-paths.scm | 48 +++++++++++++++++++++++++++++++++++++++ 9 files changed, 148 insertions(+), 29 deletions(-) create mode 100644 tests/search-paths.scm -- 2.11.0 From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: [PATCH 1/2] guix package: Honor the order of profiles when -p appears multiple times. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 22 Jan 2017 21:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25422@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148512198123148 (code B ref 25422); Sun, 22 Jan 2017 21:53:03 +0000 Received: (at 25422) by debbugs.gnu.org; 22 Jan 2017 21:53:01 +0000 Received: from localhost ([127.0.0.1]:38506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVQ4L-00061D-56 for submit@debbugs.gnu.org; Sun, 22 Jan 2017 16:53:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVQ4J-00060q-JG for 25422@debbugs.gnu.org; Sun, 22 Jan 2017 16:52:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVQ4D-0006DW-L2 for 25422@debbugs.gnu.org; Sun, 22 Jan 2017 16:52:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVQ49-0006Bn-Ds; Sun, 22 Jan 2017 16:52:49 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:37278 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cVQ48-0000pk-Qu; Sun, 22 Jan 2017 16:52:49 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 22 Jan 2017 22:52:00 +0100 Message-Id: <20170122215201.7948-2-ludo@gnu.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170122215201.7948-1-ludo@gnu.org> References: <87h951jq2s.fsf@gnu.org> <20170122215201.7948-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) 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: -8.2 (--------) * guix/scripts/package.scm (process-query): Reverse the order of PROFILES. * tests/guix-package-net.sh: Test it with '--search-paths'. --- guix/scripts/package.scm | 4 ++-- tests/guix-package-net.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 90e7fa229..79622ac14 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès +;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2013, 2015 Mark H Weaver ;;; Copyright © 2014, 2016 Alex Kost @@ -666,7 +666,7 @@ processed, #f otherwise." (_ #f)) opts) (() (list %current-profile)) - (lst lst))) + (lst (reverse lst)))) (profile (match profiles ((head tail ...) head)))) (match (assoc-ref opts 'query) diff --git a/tests/guix-package-net.sh b/tests/guix-package-net.sh index 35ef6ff1a..1eff6abba 100644 --- a/tests/guix-package-net.sh +++ b/tests/guix-package-net.sh @@ -1,5 +1,5 @@ # GNU Guix --- Functional package management for GNU -# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès +# Copyright © 2012, 2013, 2014, 2015, 2017 Ludovic Courtès # Copyright © 2013 Nikita Karetnikov # # This file is part of GNU Guix. @@ -165,7 +165,7 @@ guix package --bootstrap -p "$profile_alt" -i gcc-bootstrap if guix package -p "$profile" --search-paths | grep LIBRARY_PATH then false; fi guix package -p "$profile" -p "$profile_alt" --search-paths \ - | grep "LIBRARY_PATH.*$profile/lib" + | grep "LIBRARY_PATH.*$profile/lib.$profile_alt/lib" # # Try with the default profile. -- 2.11.0 From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: [PATCH 2/2] search-paths: Allow specs with #f as their separator. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 22 Jan 2017 21:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25422@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148512199223206 (code B ref 25422); Sun, 22 Jan 2017 21:54:02 +0000 Received: (at 25422) by debbugs.gnu.org; 22 Jan 2017 21:53:12 +0000 Received: from localhost ([127.0.0.1]:38511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVQ4S-000629-FC for submit@debbugs.gnu.org; Sun, 22 Jan 2017 16:53:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVQ4L-00060u-LQ for 25422@debbugs.gnu.org; Sun, 22 Jan 2017 16:53:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVQ4E-0006Dp-1T for 25422@debbugs.gnu.org; Sun, 22 Jan 2017 16:52:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVQ4A-0006CH-Jl; Sun, 22 Jan 2017 16:52:50 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:37278 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cVQ49-0000pk-OO; Sun, 22 Jan 2017 16:52:50 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 22 Jan 2017 22:52:01 +0100 Message-Id: <20170122215201.7948-3-ludo@gnu.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170122215201.7948-1-ludo@gnu.org> References: <87h951jq2s.fsf@gnu.org> <20170122215201.7948-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -3.2 (---) 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: -8.2 (--------) This adds support for single-entry search paths. Fixes . Reported by Leo Famulari . * guix/search-paths.scm ()[separator]: Document as string or #f. * guix/search-paths.scm (evaluate-search-paths): Add case for SEPARATOR as #f. (environment-variable-definition): Handle SEPARATOR being #f. * guix/build/utils.scm (list->search-path-as-string): Add case for SEPARATOR as #f. (search-path-as-string->list): Likewise. * guix/build/profiles.scm (abstract-profile): Likewise. * tests/search-paths.scm: New file. * Makefile.am (SCM_TESTS): Add it. * tests/packages.scm ("--search-paths with single-item search path"): New test. * gnu/packages/version-control.scm (git)[native-search-paths](separator): New field. --- Makefile.am | 3 ++- gnu/packages/version-control.scm | 4 ++-- guix/build/profiles.scm | 24 ++++++++++++-------- guix/build/utils.scm | 13 ++++++++--- guix/search-paths.scm | 28 ++++++++++++++++------- tests/packages.scm | 49 +++++++++++++++++++++++++++++++++++++++- tests/search-paths.scm | 48 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 144 insertions(+), 25 deletions(-) create mode 100644 tests/search-paths.scm diff --git a/Makefile.am b/Makefile.am index 3e147df2e..dd9069ea7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ # GNU Guix --- Functional package management for GNU -# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès +# Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès # Copyright © 2013 Andreas Enge # Copyright © 2015 Alex Kost # Copyright © 2016 Mathieu Lirzin @@ -272,6 +272,7 @@ SCM_TESTS = \ tests/nar.scm \ tests/union.scm \ tests/profiles.scm \ + tests/search-paths.scm \ tests/syscalls.scm \ tests/gremlin.scm \ tests/bournish.scm \ diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 7918b90ca..bf1842010 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2013 Cyril Roelandt -;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès ;;; Copyright © 2013, 2014 Andreas Enge ;;; Copyright © 2015, 2016 Mathieu Lirzin ;;; Copyright © 2014, 2015, 2016 Mark H Weaver @@ -297,10 +297,10 @@ as well as the classic centralized workflow.") (native-search-paths ;; For HTTPS access, Git needs a single-file certificate bundle, specified ;; with $GIT_SSL_CAINFO. - ;; FIXME: This variable designates a single file; it is not a search path. (list (search-path-specification (variable "GIT_SSL_CAINFO") (file-type 'regular) + (separator #f) ;single entry (files '("etc/ssl/certs/ca-certificates.crt"))))) (synopsis "Distributed version control system") diff --git a/guix/build/profiles.scm b/guix/build/profiles.scm index 6e316d5d2..42eabfaf1 100644 --- a/guix/build/profiles.scm +++ b/guix/build/profiles.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015 Ludovic Courtès +;;; Copyright © 2015, 2017 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,17 +39,21 @@ 'GUIX_PROFILE' environment variable. This allows users to specify what the user-friendly name of the profile is, for instance ~/.guix-profile rather than /gnu/store/...-profile." - (let ((replacement (string-append "${GUIX_PROFILE:-" profile "}"))) + (let ((replacement (string-append "${GUIX_PROFILE:-" profile "}")) + (crop (cute string-drop <> (string-length profile)))) (match-lambda ((search-path . value) - (let* ((separator (search-path-specification-separator search-path)) - (items (string-tokenize* value separator)) - (crop (cute string-drop <> (string-length profile)))) - (cons search-path - (string-join (map (lambda (str) - (string-append replacement (crop str))) - items) - separator))))))) + (match (search-path-specification-separator search-path) + (#f + (cons search-path + (string-append replacement (crop value)))) + ((? string? separator) + (let ((items (string-tokenize* value separator))) + (cons search-path + (string-join (map (lambda (str) + (string-append replacement (crop str))) + items) + separator))))))))) (define (write-environment-variable-definition port) "Write the given environment variable definition to PORT." diff --git a/guix/build/utils.scm b/guix/build/utils.scm index bc6f11415..cf0932639 100644 --- a/guix/build/utils.scm +++ b/guix/build/utils.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès +;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès ;;; Copyright © 2013 Andreas Enge ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2015 Mark H Weaver @@ -400,10 +400,17 @@ for under the directories designated by FILES. For example: (delete-duplicates input-dirs))) (define (list->search-path-as-string lst separator) - (string-join lst separator)) + (if separator + (string-join lst separator) + (match lst + ((head rest ...) head) + (() "")))) (define* (search-path-as-string->list path #:optional (separator #\:)) - (string-tokenize path (char-set-complement (char-set separator)))) + (if separator + (string-tokenize path + (char-set-complement (char-set separator))) + (list path))) (define* (set-path-environment-variable env-var files input-dirs #:key diff --git a/guix/search-paths.scm b/guix/search-paths.scm index 7a6fe6795..4bf0e4438 100644 --- a/guix/search-paths.scm +++ b/guix/search-paths.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2017 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -55,7 +55,7 @@ search-path-specification? (variable search-path-specification-variable) ;string (files search-path-specification-files) ;list of strings - (separator search-path-specification-separator ;string + (separator search-path-specification-separator ;string | #f (default ":")) (file-type search-path-specification-file-type ;symbol (default 'directory)) @@ -131,11 +131,23 @@ like `string-tokenize', but SEPARATOR is a string." DIRECTORIES, a list of directory names, and return a list of specification/value pairs. Use GETENV to determine the current settings and report only settings not already effective." - (define search-path-definition - (match-lambda - ((and spec - ($ variable files separator - type pattern)) + (define (search-path-definition spec) + (match spec + (($ variable files #f type pattern) + ;; Separator is #f so return the first match. + (match (with-null-error-port + (search-path-as-list files directories + #:type type + #:pattern pattern)) + (() + #f) + ((head . _) + (let ((value (getenv variable))) + (if (and value (string=? value head)) + #f ;VARIABLE already set appropriately + (cons spec head)))))) + (($ variable files separator + type pattern) (let* ((values (or (and=> (getenv variable) (cut string-tokenize* <> separator)) '())) @@ -164,7 +176,7 @@ current value), or 'suffix (return the definition where VALUE is added as a suffix to VARIABLE's current value.) In the case of 'prefix and 'suffix, SEPARATOR is used as the separator between VARIABLE's current value and its prefix/suffix." - (match kind + (match (if (not separator) 'exact kind) ('exact (format #f "export ~a=\"~a\"" variable value)) ('prefix diff --git a/tests/packages.scm b/tests/packages.scm index 247f75cc4..962f120ea 100644 --- a/tests/packages.scm +++ b/tests/packages.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès +;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,6 +42,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages guile) #:use-module (gnu packages bootstrap) + #:use-module (gnu packages version-control) #:use-module (gnu packages xml) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) @@ -979,6 +980,52 @@ (guix-package "-p" (derivation->output-path prof) "--search-paths")))))) +(test-assert "--search-paths with single-item search path" + ;; Make sure 'guix package --search-paths' correctly reports environment + ;; variables for things like 'GIT_SSL_CAINFO' that have #f as their + ;; separator, meaning that the first match wins. + (let* ((p1 (dummy-package "foo" + (build-system trivial-build-system) + (arguments + `(#:guile ,%bootstrap-guile + #:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils)) + (let ((out (assoc-ref %outputs "out"))) + (mkdir-p (string-append out "/etc/ssl/certs")) + (call-with-output-file + (string-append + out "/etc/ssl/certs/ca-certificates.crt") + (const #t)))))))) + (p2 (package (inherit p1) (name "bar"))) + (p3 (dummy-package "git" + ;; Provide a fake Git to avoid building the real one. + (build-system trivial-build-system) + (arguments + `(#:guile ,%bootstrap-guile + #:builder (mkdir (assoc-ref %outputs "out")))) + (native-search-paths (package-native-search-paths git)))) + (prof1 (run-with-store %store + (profile-derivation + (packages->manifest (list p1 p3)) + #:hooks '() + #:locales? #f) + #:guile-for-build (%guile-for-build))) + (prof2 (run-with-store %store + (profile-derivation + (packages->manifest (list p2 p3)) + #:hooks '() + #:locales? #f) + #:guile-for-build (%guile-for-build)))) + (build-derivations %store (list prof1 prof2)) + (string-match (format #f "^export GIT_SSL_CAINFO=\"~a/etc/ssl/certs/ca-certificates.crt" + (regexp-quote (derivation->output-path prof1))) + (with-output-to-string + (lambda () + (guix-package "-p" (derivation->output-path prof1) + "-p" (derivation->output-path prof2) + "--search-paths")))))) + (test-equal "specification->package when not found" 'quit (catch 'quit diff --git a/tests/search-paths.scm b/tests/search-paths.scm new file mode 100644 index 000000000..2a4c18dd7 --- /dev/null +++ b/tests/search-paths.scm @@ -0,0 +1,48 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2017 Ludovic Courtès +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (test-search-paths) + #:use-module (guix search-paths) + #:use-module (ice-9 match) + #:use-module (srfi srfi-64)) + +(define %top-srcdir + (dirname (search-path %load-path "guix.scm"))) + + +(test-begin "search-paths") + +(test-equal "evaluate-search-paths, separator is #f" + (string-append %top-srcdir + "/gnu/packages/bootstrap/armhf-linux") + + ;; The following search path spec should evaluate to a single item: the + ;; first directory that matches the "-linux$" pattern in + ;; gnu/packages/bootstrap. + (let ((spec (search-path-specification + (variable "CHBOUIB") + (files '("gnu/packages/bootstrap")) + (file-type 'directory) + (separator #f) + (file-pattern "-linux$")))) + (match (evaluate-search-paths (list spec) + (list %top-srcdir)) + (((spec* . value)) + (and (eq? spec* spec) value))))) + +(test-end "search-paths") -- 2.11.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 16:57:21 2017 Received: (at control) by debbugs.gnu.org; 22 Jan 2017 21:57:21 +0000 Received: from localhost ([127.0.0.1]:38519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVQ8X-00068c-3T for submit@debbugs.gnu.org; Sun, 22 Jan 2017 16:57:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVQ8V-00068Q-79 for control@debbugs.gnu.org; Sun, 22 Jan 2017 16:57:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVQ8N-0000ar-35 for control@debbugs.gnu.org; Sun, 22 Jan 2017 16:57:14 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVQ8N-0000ac-0I for control@debbugs.gnu.org; Sun, 22 Jan 2017 16:57:11 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:37296 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cVQ8M-0001xK-D7 for control@debbugs.gnu.org; Sun, 22 Jan 2017 16:57:10 -0500 Date: Sun, 22 Jan 2017 22:57:08 +0100 Message-Id: <87bmuyep1n.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #25422 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: control 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: -8.2 (--------) tags 25422 patch From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: [PATCH 0/2] Support single-entry search paths Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Jan 2017 13:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 25422@debbugs.gnu.org Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148517647022612 (code B ref 25422); Mon, 23 Jan 2017 13:02:02 +0000 Received: (at 25422) by debbugs.gnu.org; 23 Jan 2017 13:01:10 +0000 Received: from localhost ([127.0.0.1]:38790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVeFA-0005sa-6S for submit@debbugs.gnu.org; Mon, 23 Jan 2017 08:01:09 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:58973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVeF8-0005sR-6H for 25422@debbugs.gnu.org; Mon, 23 Jan 2017 08:01:06 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id A896E380A9B; Mon, 23 Jan 2017 14:01:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :user-agent:references:received:received:received; s=mdc; t= 1485176459; x=1486990860; bh=2kim5jxgszjOzh3fsJXbPWHA+zU/ZDTk3b9 uyQZs79E=; b=CfZCQlTXe0IoaLPpjvKgPmqWSv4iDH0NuHsuGSZuHrTy3WX2cV8 ZRmdqoYZvWpNx3hnDH5RIe8GhGWrYZtEjjAbhORyPSekjPgJDSjIiajei8SuK6u7 fMjgDA+qHdsq7imZK+Ipf9y0sVkYyK/8a2PNj2DHEt6Usk7Mb+2fblJs= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XyTkeIrY3EqR; Mon, 23 Jan 2017 14:00:59 +0100 (CET) Received: from HTCATWO.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS; Mon, 23 Jan 2017 14:00:59 +0100 (CET) Received: from localhost (141.80.180.135) by HTCATWO.mdc-berlin.net (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 23 Jan 2017 14:00:58 +0100 References: <87h951jq2s.fsf@gnu.org> <20170122215201.7948-1-ludo@gnu.org> User-agent: mu4e 0.9.16; emacs 25.1.1 From: Ricardo Wurmus In-Reply-To: <20170122215201.7948-1-ludo@gnu.org> Date: Mon, 23 Jan 2017 14:00:58 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.180.135] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.000.1202-22764.006 X-TM-AS-Result: No--0.799600-0.000000-31 X-TM-AS-MatchedID: 150567-703786-703731-139010-704179-704421-702379-121111-7 04011-842034-148004-148133-41000-42000-42003 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-Spam-Score: -8.2 (--------) 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: -8.2 (--------) Ludovic Courtès writes: > Hi! > > These patches for ‘core-updates’ add support for “single-entry” search > paths like ‘GIT_SSL_CAINFO’. This is achieved by setting ‘separator’ to > #f in the search path spec. > > Feedback welcome! This looks good and will be useful for the Lua search path as well. ~~ Ricardo From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: GIT_SSL_CAINFO set incorrectly Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Jan 2017 13:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Mekeor Melire Cc: 25422@debbugs.gnu.org Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148517988627780 (code B ref 25422); Mon, 23 Jan 2017 13:59:02 +0000 Received: (at 25422) by debbugs.gnu.org; 23 Jan 2017 13:58:06 +0000 Received: from localhost ([127.0.0.1]:38831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVf8I-0007Dz-9K for submit@debbugs.gnu.org; Mon, 23 Jan 2017 08:58:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVf8H-0007DX-BD for 25422@debbugs.gnu.org; Mon, 23 Jan 2017 08:58:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVf87-00071Q-DI for 25422@debbugs.gnu.org; Mon, 23 Jan 2017 08:58:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVf87-00071M-9n; Mon, 23 Jan 2017 08:57:55 -0500 Received: from [193.50.110.148] (port=48700 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cVf86-0006G0-NR; Mon, 23 Jan 2017 08:57:55 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170111203631.GA30202@jasmine> <20170120052747.5759c31b@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?UTF-8?Q?Pluvi=C3=B4se?= an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 23 Jan 2017 14:57:52 +0100 In-Reply-To: <20170120052747.5759c31b@gmail.com> (Mekeor Melire's message of "Fri, 20 Jan 2017 05:27:47 +0100") Message-ID: <87lgu1x4in.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) 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: -8.2 (--------) Mekeor Melire skribis: > Adding an option to `search-path-specification' seems like a good idea. > Still, I wonder what this snippet from (gnu system) does: > > (define (operating-system-environment-variables os) > "Return the environment variables of OS for > @var{session-environment-service-type}, to be used in @file{/etc/envi= ronment}." > `(("LANG" . ,(operating-system-locale os)) > ("TZ" . ,(operating-system-timezone os)) > ("TZDIR" . ,(file-append tzdata "/share/zoneinfo")) > ;; Tell 'modprobe' & co. where to look for modules. > ("LINUX_MODULE_DIRECTORY" . "/run/booted-system/kernel/lib/module= s") > ;; These variables are honored by OpenSSL (libssl) and Git. > ("SSL_CERT_DIR" . "/etc/ssl/certs") > ("SSL_CERT_FILE" . "/etc/ssl/certs/ca-certificates.crt") > ("GIT_SSL_CAINFO" . "/etc/ssl/certs/ca-certificates.crt") It defines the content of /etc/environment. Ludo=E2=80=99. From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: [PATCH 0/2] Support single-entry search paths Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Jan 2017 22:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Ricardo Wurmus Cc: 25422@debbugs.gnu.org Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.14852089877807 (code B ref 25422); Mon, 23 Jan 2017 22:04:01 +0000 Received: (at 25422) by debbugs.gnu.org; 23 Jan 2017 22:03:07 +0000 Received: from localhost ([127.0.0.1]:39478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVmhf-00021q-Ib for submit@debbugs.gnu.org; Mon, 23 Jan 2017 17:03:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVmhd-00021M-Kz for 25422@debbugs.gnu.org; Mon, 23 Jan 2017 17:03:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVmhV-0003na-IM for 25422@debbugs.gnu.org; Mon, 23 Jan 2017 17:03:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVmhV-0003nW-FK; Mon, 23 Jan 2017 17:02:57 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:48538 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cVmhU-00028X-TE; Mon, 23 Jan 2017 17:02:57 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87h951jq2s.fsf@gnu.org> <20170122215201.7948-1-ludo@gnu.org> Date: Mon, 23 Jan 2017 23:02:54 +0100 In-Reply-To: (Ricardo Wurmus's message of "Mon, 23 Jan 2017 14:00:58 +0100") Message-ID: <87bmuxmo35.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) 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: -8.2 (--------) Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: > >> Hi! >> >> These patches for =E2=80=98core-updates=E2=80=99 add support for =E2=80= =9Csingle-entry=E2=80=9D search >> paths like =E2=80=98GIT_SSL_CAINFO=E2=80=99. This is achieved by settin= g =E2=80=98separator=E2=80=99 to >> #f in the search path spec. >> >> Feedback welcome! > > This looks good and will be useful for the Lua search path as well. Thanks for your feedback. I=E2=80=99ve pushed it as fcd75bdbfa99d14363b905afbf914eec20e69df8. Ludo=E2=80=99. From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: GIT_SSL_CAINFO set incorrectly Resent-From: Mekeor Melire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Feb 2017 16:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 25422@debbugs.gnu.org Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148674373122520 (code B ref 25422); Fri, 10 Feb 2017 16:23:01 +0000 Received: (at 25422) by debbugs.gnu.org; 10 Feb 2017 16:22:11 +0000 Received: from localhost ([127.0.0.1]:34915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccDxb-0005rA-5B for submit@debbugs.gnu.org; Fri, 10 Feb 2017 11:22:11 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccDxa-0005qw-0Q for 25422@debbugs.gnu.org; Fri, 10 Feb 2017 11:22:10 -0500 Received: by mail-wm0-f68.google.com with SMTP id v77so8058845wmv.0 for <25422@debbugs.gnu.org>; Fri, 10 Feb 2017 08:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8fxK2uF46VKEvd5uqdiRmMIH/vo66I0gnt1jGtAqgKs=; b=aAQvviyjh8fxUujUxcCgxZDE18ZyFrmsDSdOwkYSPLWYPRccWfWVlHn7aUMbU/m0ds xfFM6VxWIOvv/N55vWHm03J1WwK/rWTDEfGTTcKxksu2BO4PhieAwFC+sAzPfAllBGwt sxBDIdx4R/0R0XlOoh9lVZVB35xaI8kBCmj5uRYST/STPVZ+4+S9Xw+pFBdYmeP+UKEa tKFDlDe1YxFEEiB31CC9wgJkWywa2FjO5JV5L4Dh9tw5cHXU2k25IO/sG591J6LvVr9n XR4bAnAKkDHEiamOuLQhgKcErjnCJy07rBk3m1ySSKMqT5y7Z2+R6H93StvcfWY/TQQO Iaiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8fxK2uF46VKEvd5uqdiRmMIH/vo66I0gnt1jGtAqgKs=; b=BzNUczHvzzsjWZO5ZQQMuqFYe7p63lmzz0FX3br7noRNfA13STI4mw511e8cPoa0Na 7M4LHx0Cvz7zTecwuEvA61L6ywm4T4njz+qsFJEsVNpGCfX8PwwJP1mTHAUSZ3VprIiu UeKozfQok0XYquANmF5hbmsCcVg9SKTWX/p97ZFBbeQEcTMF5AvHb1hCS0LLdIutzW2L 2E5v1bCpNFjYP5JdS6tNMjBfXB9OTGvQ2Tr/cLqLlwJTxl/zlEG7cMVcJSYwa8cW0SLW oIOTI3ACp92Sa9vvT5LzeLKRAxL6m2pn38YUiz10ym0YmTm2L+JxFLrzWmEHXLBPkM8c F85A== X-Gm-Message-State: AMke39mSZpQa4p9nD/MgdDQh7wxhBjR2ri729coFyFx5eC16aGkkmD9D/lC1lfLTrEXL5Q== X-Received: by 10.28.214.144 with SMTP id n138mr26050080wmg.136.1486743724367; Fri, 10 Feb 2017 08:22:04 -0800 (PST) Received: from localhost ([2001:a61:2232:ff01:aa99:878e:ee55:3e19]) by smtp.gmail.com with ESMTPSA id k70sm2212591wmc.3.2017.02.10.08.22.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Feb 2017 08:22:04 -0800 (PST) Date: Fri, 10 Feb 2017 17:22:01 +0100 From: Mekeor Melire Message-ID: <20170210172201.017a2cf4@gmail.com> In-Reply-To: <87lgu1x4in.fsf@gnu.org> References: <20170111203631.GA30202@jasmine> <20170120052747.5759c31b@gmail.com> <87lgu1x4in.fsf@gnu.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) 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.5 (/) > > Adding an option to `search-path-specification' seems like a good idea. > > Still, I wonder what this snippet from (gnu system) does: > > > > (define (operating-system-environment-variables os) > > "Return the environment variables of OS for > > @var{session-environment-service-type}, to be used in @file{/etc/environment}." > > `(("LANG" . ,(operating-system-locale os)) > > ("TZ" . ,(operating-system-timezone os)) > > ("TZDIR" . ,(file-append tzdata "/share/zoneinfo")) > > ;; Tell 'modprobe' & co. where to look for modules. > > ("LINUX_MODULE_DIRECTORY" . "/run/booted-system/kernel/lib/modules") > > ;; These variables are honored by OpenSSL (libssl) and Git. > > ("SSL_CERT_DIR" . "/etc/ssl/certs") > > ("SSL_CERT_FILE" . "/etc/ssl/certs/ca-certificates.crt") > > ("GIT_SSL_CAINFO" . "/etc/ssl/certs/ca-certificates.crt") > > It defines the content of /etc/environment. Is there any reason why GIT_SSL_CAINFO has to be set without Git being installed? I mean, I think the variable just shouldn't be set in /etc/environment by default. It should be set as soon as Git is installed, IMHO. From unknown Sat Aug 09 05:05:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25422: GIT_SSL_CAINFO set incorrectly Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Feb 2017 20:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25422 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Mekeor Melire Cc: 25422@debbugs.gnu.org Received: via spool by 25422-submit@debbugs.gnu.org id=B25422.148675993020848 (code B ref 25422); Fri, 10 Feb 2017 20:53:01 +0000 Received: (at 25422) by debbugs.gnu.org; 10 Feb 2017 20:52:10 +0000 Received: from localhost ([127.0.0.1]:35039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccIAs-0005QB-1L for submit@debbugs.gnu.org; Fri, 10 Feb 2017 15:52:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccIAq-0005Q0-Vr for 25422@debbugs.gnu.org; Fri, 10 Feb 2017 15:52:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccIAi-0005TG-Kv for 25422@debbugs.gnu.org; Fri, 10 Feb 2017 15:52:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccIAi-0005T7-Hd; Fri, 10 Feb 2017 15:52:00 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:48636 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ccIAh-0000wA-SF; Fri, 10 Feb 2017 15:52:00 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170111203631.GA30202@jasmine> <20170120052747.5759c31b@gmail.com> <87lgu1x4in.fsf@gnu.org> <20170210172201.017a2cf4@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?UTF-8?Q?Pluvi=C3=B4se?= an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 10 Feb 2017 21:51:57 +0100 In-Reply-To: <20170210172201.017a2cf4@gmail.com> (Mekeor Melire's message of "Fri, 10 Feb 2017 17:22:01 +0100") Message-ID: <87fujl7or6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Mekeor Melire skribis: >> > Adding an option to `search-path-specification' seems like a good idea. >> > Still, I wonder what this snippet from (gnu system) does: >> > >> > (define (operating-system-environment-variables os) >> > "Return the environment variables of OS for >> > @var{session-environment-service-type}, to be used in @file{/etc/e= nvironment}." >> > `(("LANG" . ,(operating-system-locale os)) >> > ("TZ" . ,(operating-system-timezone os)) >> > ("TZDIR" . ,(file-append tzdata "/share/zoneinfo")) >> > ;; Tell 'modprobe' & co. where to look for modules. >> > ("LINUX_MODULE_DIRECTORY" . "/run/booted-system/kernel/lib/mod= ules") >> > ;; These variables are honored by OpenSSL (libssl) and Git. >> > ("SSL_CERT_DIR" . "/etc/ssl/certs") >> > ("SSL_CERT_FILE" . "/etc/ssl/certs/ca-certificates.crt") >> > ("GIT_SSL_CAINFO" . "/etc/ssl/certs/ca-certificates.crt")=20=20 >>=20 >> It defines the content of /etc/environment. > > Is there any reason why GIT_SSL_CAINFO has to be set without Git being in= stalled? > > I mean, I think the variable just shouldn't be set in /etc/environment by= default. It should be set as soon as Git is installed, IMHO. You are right in principle. This variable was added in 78ab0746a5, and I think the justification was convenience and to have things that work out of the box: https://lists.gnu.org/archive/html/guix-devel/2015-03/msg00128.html That=E2=80=99s also an important property. :-) Ludo=E2=80=99. From unknown Sat Aug 09 05:05:10 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: Leo Famulari Subject: bug#25422: closed (Re: bug#25422: [PATCH 0/2] Support single-entry search paths) Message-ID: References: <87y3vi78mi.fsf@gnu.org> <20170111203631.GA30202@jasmine> X-Gnu-PR-Message: they-closed 25422 X-Gnu-PR-Package: guix X-Gnu-PR-Keywords: patch Reply-To: 25422@debbugs.gnu.org Date: Sun, 02 Apr 2017 22:23:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1491171782-6347-1" This is a multi-part message in MIME format... ------------=_1491171782-6347-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25422: GIT_SSL_CAINFO set incorrectly 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 25422@debbugs.gnu.org. --=20 25422: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25422 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1491171782-6347-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25422-done) by debbugs.gnu.org; 2 Apr 2017 22:22:29 +0000 Received: from localhost ([127.0.0.1]:57866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuntF-0001dK-0R for submit@debbugs.gnu.org; Sun, 02 Apr 2017 18:22:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuntC-0001d5-Jz for 25422-done@debbugs.gnu.org; Sun, 02 Apr 2017 18:22:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cunt3-000848-3k for 25422-done@debbugs.gnu.org; Sun, 02 Apr 2017 18:22:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cunt3-00083u-0Y; Sun, 02 Apr 2017 18:22:17 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:33268 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cunt1-0005xU-O3; Sun, 02 Apr 2017 18:22:16 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#25422: [PATCH 0/2] Support single-entry search paths References: <87h951jq2s.fsf@gnu.org> <20170122215201.7948-1-ludo@gnu.org> <87bmuxmo35.fsf@gnu.org> Date: Mon, 03 Apr 2017 00:22:13 +0200 In-Reply-To: <87bmuxmo35.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 23 Jan 2017 23:02:54 +0100") Message-ID: <87y3vi78mi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25422-done Cc: 25422-done@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: -5.0 (-----) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Ricardo Wurmus skribis: > >> Ludovic Court=C3=A8s writes: >> >>> Hi! >>> >>> These patches for =E2=80=98core-updates=E2=80=99 add support for =E2=80= =9Csingle-entry=E2=80=9D search >>> paths like =E2=80=98GIT_SSL_CAINFO=E2=80=99. This is achieved by setti= ng =E2=80=98separator=E2=80=99 to >>> #f in the search path spec. >>> >>> Feedback welcome! >> >> This looks good and will be useful for the Lua search path as well. > > Thanks for your feedback. I=E2=80=99ve pushed it as > fcd75bdbfa99d14363b905afbf914eec20e69df8. Now merged in master! Ludo=E2=80=99. ------------=_1491171782-6347-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Jan 2017 20:36:47 +0000 Received: from localhost ([127.0.0.1]:50212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRPdX-00036N-Jb for submit@debbugs.gnu.org; Wed, 11 Jan 2017 15:36:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRPdW-00036B-7m for submit@debbugs.gnu.org; Wed, 11 Jan 2017 15:36:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRPdQ-0007MM-6E for submit@debbugs.gnu.org; Wed, 11 Jan 2017 15:36:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55704) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRPdQ-0007MG-2z for submit@debbugs.gnu.org; Wed, 11 Jan 2017 15:36:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRPdN-0006eZ-VC for bug-guix@gnu.org; Wed, 11 Jan 2017 15:36:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRPdK-0007Ld-RL for bug-guix@gnu.org; Wed, 11 Jan 2017 15:36:38 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55519) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRPdK-0007LS-Mr for bug-guix@gnu.org; Wed, 11 Jan 2017 15:36:34 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 30B2520B9D; Wed, 11 Jan 2017 15:36:33 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 11 Jan 2017 15:36:33 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=m3X y/JTmIxdMWUeNU+NqbmXzgNI=; b=jXUmArMU8QaY+lqUbQC+ZaGhy4/AYQzM7Io bll3QyTJut3FmoGwgyqAT+0tk5M/cKSZuJUU2BC5T+76XMze+m8hahrYNplQmEKZ aA8bm0Mp36vIWNTp4gDjDfMiZ4XjHvSxLm2QaoLYdgVQTyV51oAxHvyrAv++w6AT 5nQBHAQQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=smtpout; bh=m3Xy/JTmIxdMWUeNU+NqbmXzgNI=; b=frDkS muSfIY70oJFKaVfAxn2QG7C6Vg/w7JKK8F06lHfoSX22vpexwf3Mfeqf2YH+szua myIM4cKet0BgMlmWiOaBFYI8t5/rVRDIFGHdfJy5AxA5ZcRBUK9nippRYsCZXsem yLG1VFRehMi5uTOWOopm74/LMoJmYCQtMskf9Y= X-ME-Sender: X-Sasl-enc: pg7BBzs70OGDia7KkjygOCtxzBNVTUnlp2PpVPDTK754 1484166992 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id E4BAA241DF for ; Wed, 11 Jan 2017 15:36:32 -0500 (EST) Date: Wed, 11 Jan 2017 15:36:31 -0500 From: Leo Famulari To: bug-guix@gnu.org Subject: GIT_SSL_CAINFO set incorrectly Message-ID: <20170111203631.GA30202@jasmine> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -4.1 (----) --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Recently, Guix started to set the environment GIT_SSL_CAINFO like a search path, instead of pointing to single file, which is what it should be. This makes Git unable to access remotes over HTTPS. It show a message like this: fatal: unable to access 'https://example.com/repo.git': Problem with the SSL CA cert (path? access rights?) I think this used to work "out of the box", at least on GuixSD. --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlh2l0gACgkQJkb6MLrK fwiHjQ/7Bi0/VsIeBeh4CNxvD9vhN8/0w+kv68pueJ1G7kwXXV676xom9ObeiMB4 sW/BCkmKLfagESMkIparKbzqrEKjBbHieF7srmewEqkQnbOYi8qGNOu4QU9NJApx 0zGVgzdEqBGQkmYpUdt8nCH7bFM0Z00p0BVVfRE0mkmkTyIhLl/KUB5vEjPN/u89 v1FsjKlgwhhdlhvbLe4Pf1EMUFNZvxVCjAao/uG+0NX87wkY5W73AM1+7Tn4Bg6V ElmJw9yqf8UTKgJ+Onu4wafeNY1u/kHwaMr+apryEomMZ7xjfay2lfUEVqm0fPZ7 b5sKTEihQaEDxGRL3dgnm5JuTx9v6qqiH8r2wI9udYzU2g3E5Sxaho4jqP56l9bV MG2WKrCDcSULZQv9v/eKh4QHBhjwb7xo5BDA0XR3ib5A0mwmOcp5qJ/1Mau2Knbh /TPqlLpfGOOAus/En85KgcL0R8pNjQtYqn3RLvVhkvdXxuMf6nigX2l9Nq3SYvhf 9xv/9lnuYr9mKXmqlnJUvJKJtyjOLhzuRRB5w0rTQMWYbTDIFOHq+H5tNotM4Xh/ xg4LAPKzg3LFNaWxVyqDoZMjFpzhAN7LVn03U89unmgfbHjP3+7tzIf5W73v66Un Dby1gioRQ0Pw/L4Pe7Fky6yQ6q7tnTNWOe8exIBkirXocjNoduo= =2cLY -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- ------------=_1491171782-6347-1--