From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 99MrHkMX916PBwAA0tVLHw (envelope-from ) for ; Sat, 27 Jun 2020 09:54:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GLzBGUMX916acgAAbx9fmQ (envelope-from ) for ; Sat, 27 Jun 2020 09:54:11 +0000 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 9397C9401AE for ; Sat, 27 Jun 2020 09:54:10 +0000 (UTC) Received: from localhost ([::1]:58032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jp7XF-0006tV-16 for larch@yhetil.org; Sat, 27 Jun 2020 05:54:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jp7X8-0006tM-Ap for bug-guix@gnu.org; Sat, 27 Jun 2020 05:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jp7X8-0001iG-1V for bug-guix@gnu.org; Sat, 27 Jun 2020 05:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jp7X8-0003Os-0c for bug-guix@gnu.org; Sat, 27 Jun 2020 05:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42076: SSL_CERT_* variables and GVFS (and probably more) are not initialized if you don't use GDM Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 27 Jun 2020 09:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom Cc: 42076@debbugs.gnu.org Received: via spool by 42076-submit@debbugs.gnu.org id=B42076.159325158812986 (code B ref 42076); Sat, 27 Jun 2020 09:54:01 +0000 Received: (at 42076) by debbugs.gnu.org; 27 Jun 2020 09:53:08 +0000 Received: from localhost ([127.0.0.1]:43497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jp7WG-0003NO-IG for submit@debbugs.gnu.org; Sat, 27 Jun 2020 05:53:08 -0400 Received: from tobias.gr ([80.241.217.52]:33000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jp7WD-0003NE-AS for 42076@debbugs.gnu.org; Sat, 27 Jun 2020 05:53:07 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id bb41785b; Sat, 27 Jun 2020 09:53:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:message-id:date:mime-version :content-type:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=vWDGsmLNEUHbcKrc8qWV58jeRAodPLdrWSzk0AZtlFk=; b=h7HYMyLVfhYD qBISgJ5CL07RSQQRnc9EpwO6jmU60uzSYoR7d4Fl0qC6Xp0hZvzTVDZvy8ns2jTy 6JLiUECFQhMHge1Am3FwWXISXJ6V8FQIu0WYCj67owKXlMWoNZIMiWGXT3d5lBmw kB8sGTNxvd3x8/Y3Z5N1+y4IvngO3dItmhUl3JPOtKLSKDi5m4hIxZat7WpBaSgx A1JLWGi/c2uWQs0VcM/z4ypSKwtApWUDaazqyymZCLnlSanMmth6AtOnF8M8Exik e8ARK0RnuWJSu07eBLk3m1MxMELQ2pUQ0YDSrEwjgtuNEy+r9Y1ZIRKjFzZ5SoEc zn5B/sOYhw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 198c1a63 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 27 Jun 2020 09:53:06 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; References: <20200627053551.63452543@riseup.net> In-reply-to: <20200627053551.63452543@riseup.net> Message-ID: <871rm0suma.fsf@nckx> Date: Sat, 27 Jun 2020 11:53:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tobias.gr header.s=2018 header.b=h7HYMyLV; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: BbOHzojpOYtk Hi! Thanks for the bug report. How are these two things related? Did=20 GVFS start working when you fixed your certs? Is GVFS failing=20 because of other unset search paths? They should be tracked as=20 separate bug #s otherwise. It's not true that =E2=80=98SSL_CERT_* variables are not initialized if=20 you don't use GDM=E2=80=99: they're initialised if a package declares a=20 native-search-path requirement on them, and another package in the=20 same profile provides matching files. How were you failing to =E2=80=98download things=E2=80=99, =E2=80=98access = the web=E2=80=99? How=20 did you fix it? I see that wget doesn't declare any search-paths. That's odd=20 (bug?) but I don't use it. I prefer curl, which does declare SSL_CERT_* search-paths:=20 installing it will set SSL_CERT_{DIR,FILE} in the profile as long=20 as there are (nss-)certs in that same profile to point at. git, on the other hand, doesn't use SSL_CERT_*, but=20 GIT_SSL_CAINFO. Here too, users don't need to care about the=20 variable(s) because Guix sets them up as soon as certs are=20 installed alongside. If you install the (nss-)certs to a different profile than all=20 SSL_CERT_* consumers, this won't happen. An ugly hack-around=20 would be to add native-seach-paths entries to the providing=20 packages which would unconditionally set them. I'm not convinced=20 this case is worth supporting. I've not used GVFS & can't say anything sensible about it. Kind regards, T G-R