Subject: Re: bin/12876: NetBSD's INET6 patches to Postfix break non-INET6 features!
To: Andrew Brown <firstname.lastname@example.org>
From: Greg A. Woods <email@example.com>
Date: 05/08/2001 23:45:58
[ On Tuesday, May 8, 2001 at 23:42:28 (-0400), Andrew Brown wrote: ]
> Subject: Re: bin/12876: NetBSD's INET6 patches to Postfix break non-INET6 features!
> >> then, you at least need to check if the machine is running NIS or not,
> >> and suppress getdomainname() case if NIS is running. IMHO.
> >No, not really. Half the time the NIS domain is the same as the DNS
> >domain, and the rest of the time you have to set $mydomain anyway so
> >it's never a loss (the $mydomain setting overrides in all cases).
> the nis domain name is stored, for nis purposes, by setdomainname().
RTFM man. Setdomainname() has nothing specific to do with NIS or DNS or
anything else. It's simply a convenient way to store a string in the
kernel. Same as "hostname" which can be either for NIS, DNS, UUCP, or
whatever. There's no inherent meaning attached to these other than
their given "names".
> fwiw - i have no idea why nis gets kernel help for its dirty work.
It doesn't, and that's the point. Those kernel storage places are for
generic use -- use them for whatever purpose you need them for.
Greg A. Woods
+1 416 218-0098 VE3TCP <firstname.lastname@example.org> <email@example.com>
Planix, Inc. <firstname.lastname@example.org>; Secrets of the Weird <email@example.com>