]> 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>
Sun, 29 Nov 2020 23:37:18 +0000 (23:37 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Sun, 29 Nov 2020 23:37:18 +0000 (23:37 +0000)
commitbf250abfec5f0fbc189641f0a5e2bbd2336c942e
tree82906671e58ff654c34f3c22b5a615c87425ee84
parent9e0ed5897b0dacc515a5d786fd640e9db0251cd0
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.
libexec/rc/rc.d/gssd