Date: Mon, 11 Feb 2019 00:50:40 +0000 From: Rick Macklem <rmacklem@uoguelph.ca> To: "freebsd-current@FreeBSD.org" <freebsd-current@FreeBSD.org> Subject: what do jails map 127.0.0.1 to? Message-ID: <QB1PR01MB3537028815A3502AA6BC4B9BDD640@QB1PR01MB3537.CANPRD01.PROD.OUTLOOK.COM>
next in thread | raw e-mail | index | archive | help
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 (127.0.0.1) and when jails are running on the syste= m, 127.0.0.1 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 t= hat breaks for some setups. I think it was when the directory the socket was b= eing created in is NFSv4 mounted, but I can't remember exactly how it fails.) Thanks for any help with this, rick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?QB1PR01MB3537028815A3502AA6BC4B9BDD640>