Subject: Re: bin/12876: NetBSD's INET6 patches to Postfix break non-INET6 features!
To: Andrew Brown <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
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 <email@example.com> <firstname.lastname@example.org>
Planix, Inc. <email@example.com>; Secrets of the Weird <firstname.lastname@example.org>