[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#72246: boot-floppies: Using 2.2.16 (2.2r0) sets hostname to the short hostname, rather than fqdn



Jeff Sheinberg <jeffsh@erols.com> writes:

> Adam Di Carlo writes:
>  > Why do you think it should be the full FQDN?
> 
> Because I use the posix `uname -n' command to obtain the hostname
> in various scripts that need to be as portable as possible.  Posix
> doesn't mention the `hostname' command at all (well susv2 doesn't,
> I don't have US$ for the real posix docs).
> 
> Why do you think that the short name is the correct default?

Because that's how I have it on my production boxes and it works fine.
According to the documentation, 'uname -n' is for node name, not for
FQDN.

Even my sparc/solaris box box, 'uname -n' merely reports the machine
name without the domainname.

I'm prety convinced this bug is invalid.

> Actually, it was the element of surprise that motivated me to
> submit the bug report.  Maybe we really need to explicitly give
> the user a choice at install time.

Oh, god, not another useless prompt presented to the user.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>



Reply to: