[Bug 269297] zfs: Unable to shutdown zfs machine after 52bcdd58f42dd37ca13e3671cb0d4ca87ce9a2a1(kgssapi: Increase timeout for kernel to gssd(8) upcalls)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Feb 2023 03:46:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269297

--- Comment #2 from Rick Macklem <rmacklem@FreeBSD.org> ---
Ok, sounds weird. I have no idea why ZFS
would have anything to do with the KGSSAPI
and upcalls to the gssd, which is the only
case the timeout change affects.

A few questions about your setup:
- Are you running the gssd(8) daemon and
  using Kerberized NFS?
  - If not, there is no reason to run the
    gssd or even load the kgssapi.ko module.
- Do you have "options KGSSAPI" in your kernel
  config?
- What are you doing to "shutdown" the system?

You can try changing the timeout from "5 * 60"
to "60", since the timeout only needs to be
increased slightly to fix the problem this commit
addresses.
The only case I know of that causes the approximately
27sec delay in an upcall is a misconfigured DNS.
Make sure your /etc/resolv.conf refers to a valid DNS
service or delete the file.

-- 
You are receiving this mail because:
You are the assignee for the bug.