]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r306048
authorasomers <asomers@FreeBSD.org>
Mon, 3 Oct 2016 14:59:32 +0000 (14:59 +0000)
committerasomers <asomers@FreeBSD.org>
Mon, 3 Oct 2016 14:59:32 +0000 (14:59 +0000)
commit9ebd30647498ea5f613830fbb3662a3258bf51b9
tree7208a5e653c0670b3590ed6191cad06acb0bca2d
parent1f56061aa32bcadb4bac8aafa0a93eca99d4c824
MFC r306048

Fix periodic scripts when an NFS mount covers a local mount

100.chksetuid and 110.neggrpperm try to search through all UFS and ZFS
filesystems. But their logic contains an error. They also search through
remote filesystems that are mounted on top of the root of a local
filesystem. For example, if a user installs a FreeBSD system with the
default ZFS layout, he'll get a zroot/usr/home filesystem. If he then mounts
/usr/home over NFS, these scripts would search through /usr/home.
etc/periodic/security/100.chksetuid
etc/periodic/security/110.neggrpperm