From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: Proxy settings wrt guix daemon Date: Tue, 7 Apr 2020 12:07:03 +0200 Message-ID: References: <87blofyzn0.fsf@gnu.org> <87eet8v948.fsf@gnu.org> <87r1x3tgi3.fsf@gmail.com> <875zedf0up.fsf@gnu.org> <87lfn7bpou.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40344) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLl8Y-00007G-2T for guix-devel@gnu.org; Tue, 07 Apr 2020 06:07:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLl8X-0001bz-7k for guix-devel@gnu.org; Tue, 07 Apr 2020 06:07:18 -0400 In-Reply-To: <87lfn7bpou.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel Hello, On Tue, Apr 7, 2020 at 11:39 AM Ludovic Court=C3=A8s wrote: > Vincent Legoll skribis: > > > I'm not sure I understand, but isn't the setenv in > > shepherd-set-http-proxy-action done for the whole > > running shepherd process ? > > It is, but only temporarily: the environment is restored once > =E2=80=98guix-daemon=E2=80=99 has been started. > > Also, since Shepherd 0.7.0, processes started by =E2=80=98fork+exec-comma= nd=E2=80=99 & > co. do not inherit environment variables of PID 1. OK, thanks, LGTM then --=20 Vincent Legoll