On Wed, Feb 5, 2020 at 11:21 AM Ian Lepore <i...@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 sig...@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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"