aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2022-02-15 22:18:23 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2022-02-15 22:18:23 +0000
commit0f5e9425e74b0e0ecf60c293525a307a6e709967 (patch)
treee7e0d0e883ae39f203e9307ad179f4f31dbd742c
parent75e44873df2c86b9e15544b496af7040f9f6e0d2 (diff)
downloadsrc-0f5e9425e74b0e0ecf60c293525a307a6e709967.tar.gz
src-0f5e9425e74b0e0ecf60c293525a307a6e709967.zip
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
-rwxr-xr-xlibexec/rc/rc.d/gssd3
1 files changed, 2 insertions, 1 deletions
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