From owner-svn-src-all@freebsd.org Wed Feb 5 17:26:59 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3826524F859; Wed, 5 Feb 2020 17:26:59 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48CT5H0lsRz3JRS; Wed, 5 Feb 2020 17:26:59 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 0BDB814889; Wed, 5 Feb 2020 17:26:59 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id e25so2132467qtr.13; Wed, 05 Feb 2020 09:26:59 -0800 (PST) X-Gm-Message-State: APjAAAUvglrlvdhyjVcrQRlw/Jo+nE2eHmflzfP3dGQux1xqg7gx7ul3 1bhcr2kantDxLSJymMDJq3lLQiKEUQR3rhVEDQA= X-Google-Smtp-Source: APXvYqw6m9wJjCZkO6RKvCQuzgU9FzJ0hfqyZjjz0qfEt+BuuInvMcNJi6OBAELSueQiku/qvifE+FRkMXkOfhP1RY0= X-Received: by 2002:aed:3f70:: with SMTP id q45mr18264594qtf.310.1580923618220; Wed, 05 Feb 2020 09:26:58 -0800 (PST) MIME-Version: 1.0 References: <202002050443.0154hwPl091233@repo.freebsd.org> <1c19eca5b40aa7b70b0c18b7b52b540671cc50dd.camel@freebsd.org> In-Reply-To: <1c19eca5b40aa7b70b0c18b7b52b540671cc50dd.camel@freebsd.org> From: Kyle Evans Date: Wed, 5 Feb 2020 11:26:46 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r357566 - head To: Ian Lepore Cc: src-committers , svn-src-all , svn-src-head , Andrew Gierth , sigsys@gmail.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2020 17:26:59 -0000 On Wed, Feb 5, 2020 at 11:21 AM Ian Lepore wrote: > > On Wed, 2020-02-05 at 04:43 +0000, Kyle Evans wrote: > > Author: kevans > > Date: Wed Feb 5 04:43:58 2020 > > New Revision: 357566 > > URL: https://svnweb.freebsd.org/changeset/base/357566 > > > > Log: > > Add RELNOTES entry for various daemons pulling in environment variables > > > > Modified: > > head/RELNOTES > > > > Modified: head/RELNOTES > > ============================================================================== > > --- head/RELNOTES Wed Feb 5 04:35:54 2020 (r357565) > > +++ head/RELNOTES Wed Feb 5 04:43:58 2020 (r357566) > > @@ -10,6 +10,12 @@ newline. Entries should be separated by a newline. > > > > Changes to this file should not be MFCed. > > > > +r357560-r357565: > > + init(8), service(8), and cron(8) will now adopt user/class environment > > + variables (excluding PATH, by default, which will be overwritten) by > > + default. Notably, environment variables for all cron jobs and rc > > + services can now be set via login.conf(5). > > + > > > > Unfortunately, the utility of this cool series of changes is mostly > destroyed by the fact that PATH is the variable that could be most > usefully set in login.conf for running daemons, specifically because it > is set in 3 separate places now. > It is (and has been) set in each of them respectively, but the submitter (along with sigsys@gmail.com) have some idea to accept a hint in cron (and perhaps the others) from login.conf that it should accept PATH as well unless it's been explicitly set in the executing job. I've CC'd these two so they can expand on that or discuss as needed. Thanks, Kyle Evans