On Sun, Feb 10, 2019 at 5:51 PM Rick Macklem <rmack...@uoguelph.ca> wrote:
> I am finally back to looking at an old PR#205193.
> The problem is that the nfsuserd daemon expects upcalls from the kernel
> that are from localhost ( and when jails are running on the system,
> is mapped to some other IP#. (I think it might be the address of the
> first net interface on the machine, but I'm not sure?)
> Is there a way that nfsuserd.c can find out what this IP# is?
> (I have a patch that converts nfsuserd.c to using an AF_LOCAL socket, but that
>  breaks for some setups. I think it was when the directory the socket was 
> being
>  created in is NFSv4 mounted, but I can't remember exactly how it fails.)
> Thanks for any help with this, rick

The easy way would be for nfsuserd to bind a socket to, then
use getsockname(2) to see what actual address it got bound to.
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to