Date: Fri, 31 Aug 2012 01:22:19 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: =?KOI8-R?B?4s/SydMg88HNz9LPxM/X?= <bsam@passap.ru> Cc: freebsd-current@freebsd.org, "freebsd-rc@FreeBSD.org" <freebsd-rc@freebsd.org> Subject: Re: rpcbind does not honor -h flag Message-ID: <CAGH67wTNNvuGEZB2m40Vbj6hT8KBgCXCoyqngy1yXO-wAxy4LQ@mail.gmail.com> In-Reply-To: <CAGH67wThx5oveWc8h4RE9ya9=KT_VPnP4x-jQvA690b-7=tEww@mail.gmail.com> References: <50407056.3000606@passap.ru> <CAGH67wThx5oveWc8h4RE9ya9=KT_VPnP4x-jQvA690b-7=tEww@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 31, 2012 at 1:14 AM, Garrett Cooper <yanegomi@gmail.com> wrote: > On Fri, Aug 31, 2012 at 1:05 AM, =E2=CF=D2=C9=D3 =F3=C1=CD=CF=D2=CF=C4=CF= =D7 <bsam@passap.ru> wrote: >> Hi All, >> >> I've it at 9.1-PRERELEASE and I've got a chance to test at CURRENT. >> It's the same (mind a line with "udp4 *:768" at sockstat info): >> ----- >> % sockstat -4l | grep rpcbind >> >> % grep rpcbind /etc/rc.conf.local >> rpcbind_flags=3D"-h 192.168.119.6" >> rpcbind_enable=3D"YES" >> >> % sudo /etc/rc.d/rpcbind start >> Starting rpcbind. >> >> % sockstat -4l | grep rpcbind >> root rpcbind 4265 9 udp4 127.0.0.1:111 *:* >> root rpcbind 4265 10 udp4 192.168.119.6:111 *:* >> root rpcbind 4265 11 udp4 *:768 *:* >> root rpcbind 4265 12 tcp4 127.0.0.1:111 *:* >> root rpcbind 4265 13 tcp4 192.168.119.6:111 *:* >> >> % uname -a >> FreeBSD bsam.wart.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #31 r239793: Wed = Aug >> 29 03:00:30 SAMT 2012 bsam@bsam.wart.ru:/usr/obj/usr/src/sys/BBX i3= 86 > > This is a generic rc(5) bug: ... > Please file a PR against rc ASAP. Grr... that's right. /etc/defaults/rc.conf overwrites anything set in the environment. Please ignore the previous email. And FWIW, rpcbind doesn't in fact bind to specific addresses like you claim= : $ sockstat -4 | grep rpcbind root rpcbind 1060 9 udp4 127.0.0.1:111 *:* root rpcbind 1060 10 udp4 192.168.20.2:111 *:* root rpcbind 1060 11 udp4 *:974 *:* root rpcbind 1060 12 tcp4 127.0.0.1:111 *:* root rpcbind 1060 13 tcp4 192.168.20.2:111 *:* Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wTNNvuGEZB2m40Vbj6hT8KBgCXCoyqngy1yXO-wAxy4LQ>