]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix startup of gssd when /usr is a separately mounted local file system.
authorRick Macklem <rmacklem@FreeBSD.org>
Sat, 14 Nov 2020 01:49:49 +0000 (01:49 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Sat, 14 Nov 2020 01:49:49 +0000 (01:49 +0000)
commit01b139f212a11d78b6cba95340404f03a9f3c418
tree18f0ce69c437173b3ef8c5801d0a20e981b51938
parent0bed3eabc54ed929de25dd6249ed6993a9e81674
Fix startup of gssd when /usr is a separately mounted local file system.

meowthink@gmail.com reported that the gssd daemon was not
starting, because /etc/rc.d/gssd was executed before his local
/usr file system was mounted.
He fixed the problem by adding mountcritlocal to the REQUIRED
line.

This fix seems safe and works for a separately mounted /usr file
system on a local disk.
The case of a separately mounted remote /usr file system (such as
NFS) is still broken, but there is no obvious solution for that.
Adding mountcritremote would fix the problem, but it would
cause a POLA violation, because all kerberized NFS mounts
in /etc/fstab would need the "late" option specified to work.

Submitted by: meowthink@gmail.com
Reported by: meowthink@gmail.com
Reviewed by: 0mp
MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D27203
libexec/rc/rc.d/gssd