svn commit: r357566 - head
Kyle Evans
kevans at freebsd.org
Wed Feb 5 17:26:59 UTC 2020
On Wed, Feb 5, 2020 at 11:21 AM Ian Lepore <ian at freebsd.org> 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 at 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
More information about the svn-src-head
mailing list