From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IL7nB1L+W2XsdAEA9RJhRA:P1 (envelope-from ) for ; Tue, 21 Nov 2023 01:48:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IL7nB1L+W2XsdAEA9RJhRA (envelope-from ) for ; Tue, 21 Nov 2023 01:48:18 +0100 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 BA900651EE for ; Tue, 21 Nov 2023 01:48:17 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=b3GkS0IP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700527697; a=rsa-sha256; cv=none; b=L76En4batUah5Ry3N7LmL2KFYnL8Iq6xAtcRm4L7P6s2voLWI/1n/LGGmRwCnolPOSW0I7 BUlJ3yXTz+8a2X2ycKimPzpG7wV40/uFk5QJmoE+IcWGoUHLZsnfd1yc7hl7a8svs4rtJZ yMAGobEXQb6TOcrjiatyk7zLLeXGk5KlMjTwYHRB2yqnExvzpctpFefXUrDAzvBHVR3bEx rUipfSvmr8f+XoYEA+E/H00qcLD2f8yoOgkqnZe/02yyQAXGDBCgKWVKTAxWKjWa4Dz87e HP8Jg1zRF1HJ/gZ9Oi1telVnTFCJqKSBgU2AROT354iGrptMaqA8PcTavuST7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=b3GkS0IP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700527697; 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: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: dkim-signature; bh=1JPhEK9WmTaOR1xOUcwVVtsIAEE7brJiseBMc6nRWY0=; b=dZp059BBRxAa9xVBjR0tHjGodLz1VTdi9ZVqse8RL8E0IjzBwcU90BmafFsr0ChF+2D+Tm XsuI0TzCUe//JlB+WvgeWxiizSU9t+X+xin1DjzFlRWtHPJF8Zcj4cBBkaRk49uIajWka6 mfGGH7yo3lLHlHfTFwEATGKi9aiWI2cxZ1VMxJ3Mc/ivXH784js2SoLz37DSJ4PSBgotSn reCZycC9i2it93/FD7nbL5HVTnGhxtwQjG/dKC0EMTaGJxHbPMF2FgyW5Eo7eAPwLUruh9 94F/JNIlEGN/SYmDMPSmf0tjP3sbBnY6rjgPi6+/61pjvGpLIh3h+nu/7w2oew== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5Evq-0006uw-2O; Mon, 20 Nov 2023 19:48:02 -0500 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 1r5Evp-0006ua-15 for bug-guix@gnu.org; Mon, 20 Nov 2023 19:48:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r5Evo-0000n0-78 for bug-guix@gnu.org; Mon, 20 Nov 2023 19:48:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r5Evq-0004kN-7Y for bug-guix@gnu.org; Mon, 20 Nov 2023 19:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#65471: home mcron service overwrites PATH with a GuixSD-only directory Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Nov 2023 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65471 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 65471@debbugs.gnu.org Received: via spool by 65471-submit@debbugs.gnu.org id=B65471.170052762618063 (code B ref 65471); Tue, 21 Nov 2023 00:48:02 +0000 Received: (at 65471) by debbugs.gnu.org; 21 Nov 2023 00:47:06 +0000 Received: from localhost ([127.0.0.1]:54844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5Euv-0004hE-Qt for submit@debbugs.gnu.org; Mon, 20 Nov 2023 19:47:06 -0500 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:41142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5Euq-0004gf-Ru for 65471@debbugs.gnu.org; Mon, 20 Nov 2023 19:47:04 -0500 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c6f4bc7738so12743941fa.0 for <65471@debbugs.gnu.org>; Mon, 20 Nov 2023 16:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700527612; x=1701132412; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=1JPhEK9WmTaOR1xOUcwVVtsIAEE7brJiseBMc6nRWY0=; b=b3GkS0IPNloL/Q8JC6rR8fk1yccNAj+ItOE3PVaSaiEzGptlO48CmwC96zMbsvNhRb CEJEHrw6/puWJ9fbNJnBr9cV4p7fQFfnEgLt9haO1kznAe05zcKEOHCjTeUtvEe6PsIJ 5s4uzc4wyGXRHiyOf602Lp0o2KrPhfrAAf28j9jOYJx78Wgxrz9fr2z6JhS+virTXflM PD9Oq23mORTM9jtV/IjuY8jIFBc3EJIu2cUKwcSZiTdghrax6GyPIeGuelOZSnAjWvQa JXXv+p98wQw2skv7Ovd3CNJcmexJNrKMouMB1c0kJlK2wPxQvhFX2eVVtf375qPUicdH ouwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700527612; x=1701132412; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1JPhEK9WmTaOR1xOUcwVVtsIAEE7brJiseBMc6nRWY0=; b=oUKs8Cpk/draohlPkhhCwUE4XF5/CX6beDpZsHy1gdqtA+ESayyjtNGXz8hxZwaHhH 36T1hodyGnA3sWlDyGNOjy6j2+/InuQptiZglcY3PWXt4TPqMfn59bcgQjBqKDmf4wK6 y2yjiXsZwgcotmfnWzR4ydTXXcLMs8vv4bFz6cEB9iajg5xRYqWnNN5yrhrCa8oUrXNo +KaSPSmgvbZB0LbYmMyz4EGcxcoi4mXYx2FII/COaTDPEzMLWmLJ4S+UFBJz7qZxprhT XAKvZRkEWWu0k7aFr/Bi/t7xwbnbJnnNGzYBEMiRhLtluFGhnvTFPEk4hk9dXwXmyQMQ do/A== X-Gm-Message-State: AOJu0YxzJSjjJ+FBdflbxmnJuUqvH6Jd2IkCboI4X8m5OOIidZyJoDUr Rrgt9zYSTg9aCPEejjP1RhQ= X-Google-Smtp-Source: AGHT+IGU+zh+dEwfdriFzHRUPyIvHsDwjwp27Y4bU8hrUn07AS4e0t6CV5dyiWTko2jtKlq3Fhc4Uw== X-Received: by 2002:a2e:a7cc:0:b0:2c2:c387:7bd3 with SMTP id x12-20020a2ea7cc000000b002c2c3877bd3mr7299681ljp.0.1700527612090; Mon, 20 Nov 2023 16:46:52 -0800 (PST) Received: from localhost ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id w22-20020a2e3016000000b002c023d3dadesm1137138ljw.113.2023.11.20.16.46.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 16:46:51 -0800 (PST) From: Oleg Pykhalov In-Reply-To: <87jzqcoz3a.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 20 Nov 2023 23:10:33 +0100") References: <509099431.327298.1692786160360@office.mailbox.org> <87jzqcoz3a.fsf@gnu.org> Date: Tue, 21 Nov 2023 03:46:50 +0300 Message-ID: <87msv8szk5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: BA900651EE X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.04 X-Spam-Score: -7.04 X-TUID: 6a3QKEtLSmIo --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, Ludovic Court=C3=A8s writes: [=E2=80=A6] > I wonder what the preferred behavior would be. Restore PATH to whatever > value it had when the user =E2=80=98shepherd=E2=80=99 process was started= , at the > expense of making things harder to track/less reproducible? Should we > leave it unset, possibly breaking programs that expect it to be set? > Should we set it to =E2=80=9C/run/current-system/profile/bin:/usr/bin=E2= =80=9D or > similar? 1c30d5a6 was almost 3 months ago, so we could assume most of the users are already reconfigured to this (or newer) commit and fixed their configurations accordingly. Because we probably cannot be sure how they fixed it, I think the best that we could do is not to change the current behavior again and provide a support and documentation if needed, so we don't break users configurations again. Also, the current behavior =E2=80=98PATH=3D/run/current-system/profile/bin= =E2=80=99 matches with mcron started by Shepherd on a Guix System on pretty recent commit =E2=80=98fc6bdaad57bf91609849623c5f485403c030cb49=E2=80=99, which pr= obably is better than difference of PATH dependending on is it system's Shepherd or user's Shepherd instance running. We could allow users to control an environment of mcron, but I think it should be: =2D optional for both system's and user's Shepherd instances; =2D not a default behavior, because we already switched from PATH=3D to =E2=80=98PATH=3D/run/current-system/profile/bin=E2=80=99. Regards, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmVb/foUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pzUOQ/+NT9PM7NurGNIo5KCYSxR+VHxRQY+ LjjVlbk/kH7WE+DHIAJCq6XqJVEdgblsIK97vRlgHn/+ytSYEmdXoFH3RL7eR0fO OfmDX+5AlMPtmt8DMAttv0MVt87bKRTjnG4k7hpIIEPbuY3Sln/SJd8y0/LbbziW UxUhn5U2hCjHo3gi1+BNvmTlwgZgUCnAbQup/crPo7aEFyeGQapVRSOqmjR4X/PU xgwwc9UOpkvM2yspeqBTzmP6x+l8bB4LsK4j27F0c+I4U/DwoGFdi3B/27/DT9ZD Jr9maU9YUJya5kXI0H/GraxaLg6KW0xCERfMW9XrQQ8JDckweB4aZA3+Y+bb8iXK uEWwCGGdSTZl3GI3r09bCNCJDizGp1ITgd7g9d9kawts/CMy+PL1XGbapcZ5CW/1 CNU76waPxGbJRfPmTkSuKCPGbPh6PIe/q6c0Zx6i3jd6Mn+QQCcJwOAVUA+Og+Fp qTFmK/ZAT56h91hbsS0xoyMPp/3/iSuZnRwLGK3ug6+JIq4jhGPc35qFy2LDl/KZ da7qdpHw9zxkv6dnrWTmI0hZJkzWXPNwWQF9DiNvVqz3EZicYsl2N6EQoZOqS+p0 ag/R0vZ7xI2oUgdAYx9kDf4hrq00jRIxr2nSZZCbY1tvnS6fOiub6OVb+KmjvAW4 ZkA1v98m12B99Dw= =6PxZ -----END PGP SIGNATURE----- --=-=-=--