Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2026 02:16:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 294501] Cannot Mount Jailed Kerberized NFSv4 Server Exports After Upgrade to 15.0
Message-ID:  <bug-294501-7501-ISE9Ny4v5u@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294501-7501@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294501

--- Comment #13 from Rick Macklem <rmacklem@FreeBSD.org> ---
(In reply to Gleb Smirnoff from comment #7)
Well, the name is a problem, in part because
the call to client_nl_create() is done in kgss_load().
Once I moved it to a kgss_vnetinit() function and
used a different name for each vnet, it gets further
(although not working, as yet).

I've looked at netlink_generic.c and making the
genl_register_xxx() and genl_unregister_xxx()
functions use vnet'd arrays for families and groups
isn't too bad.
--> However, they get called from various places and
    CURVNET_SET()/CURVNET_RESTORE() will need to be
    done around the calls that are not done by vnetinit
    functions.

I see two approaches..
- Continue with vnet'ng the netlink_generic.c functions
  (and there are probably others). This will take a while
  to get correct.
or
- Leave the namespace global and require applications like
  gssd to use vnet specific names, such as "kgss.jid" instead
  of just "kgss".
  This would be easier and a much smaller patch, although I
  cannot be sure that the upcalls will actually work until I
  try it.

So, which approach do you think is preferred?

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294501-7501-ISE9Ny4v5u>