getaddrinfo()-related replication problem on FreeBSD

Scott Lovenberg scott.lovenberg at gmail.com
Mon Jun 4 20:01:19 MDT 2012


On Mon, Jun 4, 2012 at 8:43 PM, Andrew Bartlett <abartlet at samba.org> wrote:

> On Mon, 2012-06-04 at 20:30 -0400, Scott Lovenberg wrote:
> > On Mon, Jun 4, 2012 at 8:21 PM, Andrew Bartlett <abartlet at samba.org>
> wrote:
> >
> > > On Mon, 2012-06-04 at 20:17 -0400, Scott Lovenberg wrote:
> > > >
> > > >
> > > >         It seems a very deliberate policy decision then.  I guess we
> > > >         may just
> > > >         have to blacklist FreeBSD on this point then.
> > > >
> > > >
> > > >  Forgive my ignorance, but isn't this the nuclear option?  Is there a
> > > > more reasonable option?
> > >
> > > I don't see a more reasonable option at this point.  We simply can't
> use
> > > the getaddrinfo() call on this platform.  If we really wanted to refine
> > > it, we could start searching for _ i the name before we looked it up,
> > > but then we really do get down special-case codepaths.
> > >
> > That sounds like a losing proposition.  I understand your position.
>
> The attached patch would (probably) do it, but then some poor developer
> not on FreeBSD will spend hours later debugging why a bug (or non-use of
> a cache etc) only happens for names including a _.
>
> I know these are 'banned' in DNS, but I strongly object to the client OS
> being the arbiter of good taste in network naming.
>
> IHMO, it's reasonable, but I'd appreciate a comment if I were trying to
trace that code.


More information about the samba-technical mailing list