On Mon, Feb 13, 2006 at 10:10:35AM +0100, Tore Anderson wrote:
> * Graham Wilson
> > I disagree with this patch. I believe the kernel hostname variable
> > (the one that hostname(1) sets, and that {get,set}hostname(2) query
> > and set) should not be a FQDN. Instead the FQDN should be looked up
> > using gethostbyname(3) (which will in turn query /etc/hosts or a
> > nameserver).
> > 
> > Does someone else have a reason why this is not the case?
> 
>   You are the one who wants to change the status quo, as well as impose
>  an additional restriction that is not present in any other Linux
>  distribution, including Sarge, or any other Unix[-lookalike] I tested.

I think the rules that LaMont posted were the rules for FQDNs. My
contention is that the kernel hostname variable is not meant to contain
FQDNs, but only hostnames, which are single components of domain names
(and therefore have not dots in them). Is there disagreement about this?

Even though I'm currently convinced the current behavior is correct, I
don't think the stringent checking code adds anything terribly useful
over what was there in the past, so it seems likely that I'll decide to
remove it.

-- 
gram


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to