Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Feb 2020 19:05:55 +0000
From:      Andrew Gierth <andrew@tao11.riddles.org.uk>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        Ian Lepore <ian@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>, sigsys@gmail.com
Subject:   Re: svn commit: r357566 - head
Message-ID:  <874kw4ooqw.fsf@news-spur.riddles.org.uk>
In-Reply-To: <CACNAnaHu=T9N5S6DKdYN9FjRBb%2BASvEU7XPVC6x3jDZdkjtw1g@mail.gmail.com> (Kyle Evans's message of "Wed, 5 Feb 2020 11:26:46 -0600")
References:  <202002050443.0154hwPl091233@repo.freebsd.org> <1c19eca5b40aa7b70b0c18b7b52b540671cc50dd.camel@freebsd.org> <CACNAnaHu=T9N5S6DKdYN9FjRBb%2BASvEU7XPVC6x3jDZdkjtw1g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Kyle" == Kyle Evans <kevans@freebsd.org> writes:

 >> 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.

 Kyle> It is (and has been) set in each of them respectively, but the
 Kyle> submitter (along with sigsys@gmail.com) have some idea to accept
 Kyle> a hint in cron (and perhaps the others) from login.conf that it
 Kyle> should accept PATH as well unless it's been explicitly set in the
 Kyle> executing job.

 Kyle> I've CC'd these two so they can expand on that or discuss as
 Kyle> needed.

I'd be quite happy to go along with a proposal to unconditionally set
PATH from login.conf in cron and elsewhere.

(The idea of having a flag for it is just to avoid changing existing PATH
behavior without an explicit admin choice, to head off arguments about
security. If that's not an issue, then no need for the flag.)

-- 
Andrew.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874kw4ooqw.fsf>