Hi there,

> When attempting to use "hostname -f" or "hostname --fqdn" to determine the 
> fully qualified domain name of the system, it returns:
> 
>   hostname: Unknown host

The only way I can reproduce this is by having a FQDN in /etc/hostname . Can 
you please check if your /etc/hostname has your FQDN instead of just the 
hostname?

As you can see in hostname's man page, 
"/etc/hostname This file should only contain domain name and not the full 
FQDN."

Anyway, and if this is your case, I still think that this bug report shouldn't 
be closed but retitled to "hostname should check if /etc/hostname has FQDN", 
or "hostname should have better behaviour with invalid /etc/hostname", and 
the severity changed to "wishlist".

Best regards,
-- 
Marcos Marado



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

Reply via email to