Page MenuHomeFreeBSD

modify /etc/rc.d/gssd so that it starts after NETWORKING and kdc
ClosedPublic

Authored by rmacklem on Feb 14 2022, 2:29 AM.
Tags
Referenced Files
F96288754: D34265.diff
Tue, Sep 24, 9:00 AM
Unknown Object (File)
Sat, Sep 21, 2:12 AM
Unknown Object (File)
Sat, Sep 21, 1:52 AM
Unknown Object (File)
Tue, Sep 17, 1:20 PM
Unknown Object (File)
Tue, Sep 17, 2:51 AM
Unknown Object (File)
Mon, Sep 16, 12:51 PM
Unknown Object (File)
Sun, Sep 8, 7:50 AM
Unknown Object (File)
Sat, Sep 7, 5:54 AM
Subscribers

Details

Summary

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.

I am waiting to hear from Arno w.r.t. whether this patch fixes the problem for him.

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.

Test Plan

The ordering has been checked via rcorder(8) and a system
with the changes boots fine.

I am waiting to hear from Arno w.r.t. whether or not this
patch fixes his problem.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I have added Mateusz as a reviewer. If anyone else is willing to review this, please do so.
I have heard from Arno that it did fix the problem for him and would like to get this into
13.1.

This revision is now accepted and ready to land.Feb 15 2022, 4:52 PM