Page MenuHomeFreeBSD

kgssapi: use netlink RPC client to talk to gssd(8)
ClosedPublic

Authored by glebius on Mon, Jan 20, 9:03 PM.
Tags
None
Referenced Files
F109149180: D48552.diff
Sat, Feb 1, 11:06 AM
F109141912: D48552.diff
Sat, Feb 1, 9:02 AM
Unknown Object (File)
Sun, Jan 26, 8:21 PM
Unknown Object (File)
Sun, Jan 26, 7:35 PM
Unknown Object (File)
Sun, Jan 26, 12:23 PM
Unknown Object (File)
Sat, Jan 25, 9:06 AM
Unknown Object (File)
Sat, Jan 25, 9:06 AM
Unknown Object (File)
Sat, Jan 25, 9:05 AM
Subscribers

Diff Detail

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

Event Timeline

brooks added inline comments.
sys/kgssapi/gss_impl.c
92

I'm unsure about the exact sequence of events expected with respect to starting this timeout and starting the daemon, but 1 minute isn't super long under emulation so I'm not sure if reducing from 5 to 1 minute is likely to be a problem.

sys/kgssapi/gss_impl.c
92

I decided to change the timeout parameters together with the transport. With the unix/stream socket I really don't see much value in retries at all: if the daemon is absent, we would get error; if the daemon has hang, retries doesn't make sense - unix/stream is reliable, the data is waiting in the socket for the daemon.

5 minutes sounds like overkill to me. If you want I can get it back to 5 minutes, but I will do also increase retries then. So that client keeps sending the RPC call constantly. If the daemon is restarted, doesn't make sense to wait a minute.

P.S. Thanks a lot for looking at the patches!

  • Put back the original overall timeout of 5 minutes. Let's not mix this with change of transport.
  • However, put much more retries into this timeout. The nature of the clnt_nl is different to clnt_reconnect + clnt_vc, and we should retry much more often.
This revision is now accepted and ready to land.Wed, Jan 29, 10:16 PM