From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mekeor Melire Subject: bug#25422: GIT_SSL_CAINFO set incorrectly Date: Fri, 10 Feb 2017 17:22:01 +0100 Message-ID: <20170210172201.017a2cf4@gmail.com> References: <20170111203631.GA30202@jasmine> <20170120052747.5759c31b@gmail.com> <87lgu1x4in.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccDyV-0004ro-2y for bug-guix@gnu.org; Fri, 10 Feb 2017 11:23:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccDyQ-0002Ja-3J for bug-guix@gnu.org; Fri, 10 Feb 2017 11:23:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36716) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccDyQ-0002JU-05 for bug-guix@gnu.org; Fri, 10 Feb 2017 11:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ccDyP-0005sQ-Q5 for bug-guix@gnu.org; Fri, 10 Feb 2017 11:23:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lgu1x4in.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 25422@debbugs.gnu.org > > 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.