From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gAFZIHS8e2SO3AAASxT56A (envelope-from ) for ; Sun, 04 Jun 2023 00:19:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6Ak5IHS8e2Q6kAAAauVa8A (envelope-from ) for ; Sun, 04 Jun 2023 00:19:32 +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 389EF999D for ; Sun, 4 Jun 2023 00:19:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5ZaS-0006Av-Hu; Sat, 03 Jun 2023 18:19:04 -0400 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 1q5ZaQ-0006AV-T2 for guix-patches@gnu.org; Sat, 03 Jun 2023 18:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5ZaQ-0003Ye-Kd for guix-patches@gnu.org; Sat, 03 Jun 2023 18:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5ZaQ-0007oZ-FW for guix-patches@gnu.org; Sat, 03 Jun 2023 18:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63877] [PATCH] gnu: services: web: Set SSL_CERT_DIR in php-fpm environment. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Jun 2023 22:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63877 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Timo Wilken Cc: 63877@debbugs.gnu.org Received: via spool by 63877-submit@debbugs.gnu.org id=B63877.168583074130033 (code B ref 63877); Sat, 03 Jun 2023 22:19:02 +0000 Received: (at 63877) by debbugs.gnu.org; 3 Jun 2023 22:19:01 +0000 Received: from localhost ([127.0.0.1]:44462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5ZaP-0007oK-C9 for submit@debbugs.gnu.org; Sat, 03 Jun 2023 18:19:01 -0400 Received: from smtpm4.myservices.hosting ([185.26.105.235]:42998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5ZaM-0007o8-Lc for 63877@debbugs.gnu.org; Sat, 03 Jun 2023 18:18:59 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm4.myservices.hosting (Postfix) with ESMTP id B8C3920C80; Sun, 4 Jun 2023 00:18:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 0DED480097; Sun, 4 Jun 2023 00:18:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 37HNox9YgHDZ; Sun, 4 Jun 2023 00:18:56 +0200 (CEST) Received: from [192.168.1.116] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 949A580060; Sun, 4 Jun 2023 00:18:56 +0200 (CEST) Message-ID: Date: Sat, 3 Jun 2023 23:18:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Content-Language: en-US References: <3fec02d93b8e7803dd8183e7f0037ec1a1393b0f.1685816572.git.guix@twilken.net> From: Bruno Victal In-Reply-To: <3fec02d93b8e7803dd8183e7f0037ec1a1393b0f.1685816572.git.guix@twilken.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685830772; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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; bh=O5082rl4drkAML4CC9LWgO6DUVkcnSkPKM3gwomVSrA=; b=OCQkwAIUCGZx+Gf54dygDjQpGxuQHiKsvu9F8wPaXUM8AVK6yM2IHnLv1GFL+YhR3971yr PhK8GCiQhDpffIgLr1xlCiTUpnR1luTwfg/oH6DYkweSBCYXxOY4xePpNFiftIfDHK0f3N 0ecD1kKF8fzShXJpUAcdeLUK+D/MzNGtOE70ovsT/zOWRboVuSxVQaDU5OuYdHFDi8ap6G LV21A9NKbkzg/yb6CFfHvAsUP6kF6HWVGhV7OHc5Y5dsK0mfOW9FM4ZhKfiUr1vcaJ5xUl Eoi+i9N1NL8JFz7FyiGQ0KRZChwQ8xvd8MD01SOhh8fo9NGQ4ltniVJERQX5wA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685830772; a=rsa-sha256; cv=none; b=Kr6LhFPPpHRfGzXov+VJ114qbRHReQK4qZhIwrlCYmjK/dCwx7Fu1FcguaW51sywaKEs1u CPgN0VJN4cfg+ST2/UsdWWxi41kua46Thypa4QZ6SMuXVmbXXQkr3u/j5ff/p9FchOGAgk vT25avmlj+oJTeMkztnCIwFX4PTEiGdTwsm7yrwjlp2TD/1XPqKIQt3koIn/N40I0eD7rX BR1b5NJSW/II2ZDeI/A3nyI0XWr7PAjPG2gqyIgkWjqA4XNJj5VaoSBlSk9pfxvRYaLWRT gpzVAtzXXoh9h6hZ9Tbfj11+t0feDJ2QZfKbzZSl4Vru0C767+e13H3jdScNQQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.18 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 389EF999D X-Spam-Score: -3.18 X-TUID: Qb79NqcRn6JF Hi Timo, On 2023-06-03 19:25, Timo Wilken wrote: > Some PHP programs, like Nextcloud, make HTTPS requests to other servers. For > this, they need to know where the system CA certificates are. > > * gnu/services/web.scm (php-fpm-shepherd-service): Set SSL_CERT_DIR > environment variable. > --- > > This solution adds a dependency from the resulting Shepherd service to the > nss-certs package, which weighs 0.3 MiB. An alternative solution might be to > set SSL_CERT_DIR=/etc/ssl/certs instead and rely on nss-certs being installed > system-wide. How about exposing this as a new environment-variable record field à la mpd-configuration (gnu services audio)? Forcing the service to use a specific package seems overly rigid since it would make it impossible to specify alternate/custom certificates or nss-certs package variants. -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno.