On 07/18/2014 09:31 AM, Ken Schneider - openSUSE pecked at the keyboard and wrote:
On 07/18/2014 08:21 AM, apc@abcj.demon.co.uk pecked at the keyboard and wrote:
On Friday 18 Jul 2014 03:16:39 David C. Rankin wrote:
Brain-trust,
Here is a curiosity in 13.1. After install, the hostname command returned the fully qualified domain name instead of properly returning the hostname alone. Eg:
$ hostname alchemy.3111skyline.com
$ hostname -f alchemy.3111skyline.com
This caused problems in some application that are expecting only the hostname part. Picking through the usual list of suspects, it turned out that /etc/HOSTNAME was the guilty party. It contained:
# cat HOSTNAME alchemy.3111skyline.com
That was odd, in the past, /etc/HOSTNAME generally included only the hostname part and not the dnsdomainname as well. Fixing /etc/HOSTNAME fixed the problem.
Has anyone else noticed this? If this can be confirmed, I'll file the bug report, but there is also the possibility I entered the full hostname during install when it called for only the hostname part. I guess in that instance I should still file a bug report because the installer should be smart enough to validate the input. What says the list?
Hi David,
I just had a look at an opensuse 13.1 VM I have installed in a test rig (this one runs kolab which requires correct response from the hostname commands) and I do not see what you are seeing. Here is the output from this VM andrew@kolab:~> cat /etc/HOSTNAME kolab.test.rig andrew@kolab:~> hostname kolab andrew@kolab:~> hostname -s kolab andrew@kolab:~> hostname -f kolab.test.rig
You may want to check your alias' to see if something is set different for hostname.
That's not it as I have the same results as David. Sorry for the noise. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org