HomeFreeBSD

gssd: Modify /etc/rc.d/gssd so that it starts after NETWORKING

Description

gssd: Modify /etc/rc.d/gssd so that it starts after NETWORKING

Arno Tuber reported via email that he needed to restart the gssd daemon
after booting, to get his Kerberized NFS mount to work.

Without this patch, rcorder shows that the gssd starts before NETWORKING
and kdc. The gssd will need NETWORKING to connect to the KDC and, if
the kdc is running on the same system, it does not make sense to start it
before the kdc. This fixed the problem for Arno.

While here, I also added a "# BEFORE: mountcritremote".
It does not affect ordering at this time, but I felt
it should be added, since the gssd needs to be running
when remote NFS mounts are done.

PR: 261939
Reported by: anothatuber@gmail.com
Tested by: anothatuber@gmail.com
Reviewed by: rew
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34265

Details

Provenance
rmacklemAuthored on Feb 15 2022, 10:18 PM
Reviewer
rew
Differential Revision
D34265: modify /etc/rc.d/gssd so that it starts after NETWORKING and kdc
Parents
rG75e44873df2c: Cirrus-CI: add a manual amd64-gcc9 build and smoketest job
Branches
Unknown
Tags
Unknown