git: 0dd60a57103e - stable/12 - gssd: Modify /etc/rc.d/gssd so that it starts after NETWORKING

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Tue, 22 Feb 2022 00:48:10 UTC
The branch stable/12 has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=0dd60a57103e7aa539f2a6916c3b774167dc664c

commit 0dd60a57103e7aa539f2a6916c3b774167dc664c
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2022-02-15 22:18:23 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2022-02-22 00:46:30 +0000

    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
    
    (cherry picked from commit 0f5e9425e74b0e0ecf60c293525a307a6e709967)
---
 libexec/rc/rc.d/gssd | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/gssd b/libexec/rc/rc.d/gssd
index 2a51add38b88..79dbf10ca575 100755
--- a/libexec/rc/rc.d/gssd
+++ b/libexec/rc/rc.d/gssd
@@ -4,7 +4,8 @@
 #
 
 # PROVIDE: gssd
-# REQUIRE: root mountcritlocal
+# REQUIRE: root mountcritlocal NETWORKING kdc
+# BEFORE: mountcritremote
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr