what do jails map 127.0.0.1 to?
Allan Jude
allanjude at freebsd.org
Tue Feb 12 18:21:21 UTC 2019
On 2019-02-10 19:50, Rick Macklem 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 (127.0.0.1) and when jails are running on the system,
> 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 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
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
normal Jails map 127.0.0.1 to the first IP in the jail.
--
Allan Jude
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20190212/7eaf1c12/attachment.sig>
More information about the freebsd-current
mailing list