Date: Tue, 13 Jan 2015 18:10:21 -0500 (EST) From: Rick Macklem <rmacklem@uoguelph.ca> To: Ryan Stone <rysto32@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: mountd -h flag is not accepting hostnames Message-ID: <207092761.12602230.1421190621924.JavaMail.root@uoguelph.ca> In-Reply-To: <CAFMmRNw0AV5cmRemN33y1w0Oh-jhL1bC51t2DWSpBrQ2FR0iXQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ryan Stone wrote: > It seems that there has been a regression between 8.1-RELEASE and > 10.1-RELEASE in mountd. In 10.1 I can no longer run mountd with -h > myhostname to have it bind to the IP that "myhostname" resolve to. > The cause is that getaddrinfo() is not being called correctly. I've > uploaded a fix for review here: > > https://reviews.freebsd.org/D1507 I just commented on this. The patch looks correct to me and similar patches are needed for usr.sbin/rpc.lockd/lockd.c and usr.sbin/rpc.statd/statd.c. (I was the culprit and introduced this bug via r222623 and friends when I "fixed" the code to set AI_NUMERICHOST instead of clear it when a numeric name was detected.) rick > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?207092761.12602230.1421190621924.JavaMail.root>