[Bug 294501] Cannot Mount Jailed Kerberized NFSv4 Server Exports After Upgrade to 15.0
| Newsgroups | gmane.os.freebsd.devel.net |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294501 --- Comment #13 from Rick Macklem <[email protected]> --- (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.