Discussion:
uname -n, fqdn
(too old to reply)
heylow
2007-09-22 02:54:20 UTC
Permalink
On 5.8, when I run uname -n or hostname, I get non-qualified name. On
5.10, I get FQDN for the same. Is there any setting that can change
the behavior to non-qualified name?

Thanks, P.
Greg Andrews
2007-09-22 04:18:50 UTC
Permalink
Post by heylow
On 5.8, when I run uname -n or hostname, I get non-qualified name. On
5.10, I get FQDN for the same. Is there any setting that can change
the behavior to non-qualified name?
Have you compared the /etc/nodename files on 5.8 and 5.10?

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
heylow
2007-09-22 17:03:50 UTC
Permalink
Post by Greg Andrews
Post by heylow
On 5.8, when I run uname -n or hostname, I get non-qualified name. On
5.10, I get FQDN for the same. Is there any setting that can change
the behavior to non-qualified name?
Have you compared the /etc/nodename files on 5.8 and 5.10?
They are different: on 5.10, it is fqdn; on 5.8, it is just short
name. I manually edited /etc/nodename on 5.10 to short name; it didn't
help
Greg Andrews
2007-09-23 06:50:01 UTC
Permalink
Post by heylow
Post by Greg Andrews
Post by heylow
On 5.8, when I run uname -n or hostname, I get non-qualified name. On
5.10, I get FQDN for the same. Is there any setting that can change
the behavior to non-qualified name?
Have you compared the /etc/nodename files on 5.8 and 5.10?
They are different: on 5.10, it is fqdn; on 5.8, it is just short
name. I manually edited /etc/nodename on 5.10 to short name; it didn't
help
Is that all you did, edit the file? You didn't reboot or update the kernel
with uname -S?

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
heylow
2007-09-24 15:14:59 UTC
Permalink
Post by Greg Andrews
Post by heylow
Post by Greg Andrews
Post by heylow
On 5.8, when I run uname -n or hostname, I get non-qualified name. On
5.10, I get FQDN for the same. Is there any setting that can change
the behavior to non-qualified name?
Have you compared the /etc/nodename files on 5.8 and 5.10?
They are different: on 5.10, it is fqdn; on 5.8, it is just short
name. I manually edited /etc/nodename on 5.10 to short name; it didn't
help
Is that all you did, edit the file? You didn't reboot or update the kernel
with uname -S?
I did with uname -S, now it worked. Thanks, P.

Continue reading on narkive:
Search results for 'uname -n, fqdn' (Questions and Answers)
4
replies
unix machine name?
started 2007-09-29 17:19:01 UTC
programming & design
Loading...