]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340322-r340324,r340327: periodic/etc/weekly/340.noid
authorEugene Grosbein <eugen@FreeBSD.org>
Mon, 10 Dec 2018 14:19:57 +0000 (14:19 +0000)
committerEugene Grosbein <eugen@FreeBSD.org>
Mon, 10 Dec 2018 14:19:57 +0000 (14:19 +0000)
commit7c76393a62ebfd6e179b91a3e014502c21d77cd7
tree8b7db80548bb5e7126eadc50819c3f28cb19f787
parent5744f5330975640a70fc129a710f43e37dc41ebd
MFC r340322-r340324,r340327: periodic/etc/weekly/340.noid

Prevent periodic/etc/weekly/340.noid from descending into root directories
of jails. Jails have their own user/group databases and this script
can produce multiple false warnings, not to mention significant extra
load in case of large jailed subtrees. Leave this check for jailed
invocations of the same script.
usr.sbin/periodic/etc/weekly/340.noid