On 07/18/2014 04:50 PM, grantksupport@operamail.com wrote:
per my upstream, this all arises, or arose, from mismatch between 'legacy' hostname and systemd management
read
man hostname man hostnamectl http://www.freedesktop.org/software/systemd/man/hostnamectl.html
for correct/consistent hostname setup with OS 13.1, I now do
MY_FQDN_HOSTNAME="mydesk.domain.com"
ln -sf /etc/HOSTNAME /etc/hostname echo ${MY_FQDN_HOSTNAME} > /etc/hostnameX hostname -F /etc/HOSTNAME
hostnamectl --static --transient --pretty set-hostname ${MY_FQDN_HOSTNAME}
checking
hostnamectl status Static hostname: mydesk.domain.com Transient hostname: mydesk Icon name: computer-desktop Chassis: desktop Machine ID: 192...28f Boot ID: 728...d04 Operating System: openSUSE 13.1 (Bottle) (x86_64) CPE OS Name: cpe:/o:opensuse:opensuse:13.1 Kernel: Linux 3.15.5-1.g01d2774-desktop Architecture: x86_64
hostname mydesk
hostname -s mydesk
hostname -f mydesk.domain.com
is, now, consistent. ime, makes both my desktop apps and my servers happy.
I think simply correcting /etc/HOSTNAME on openSuSE 13.1 took care of all issues: 16:13 alchemy:~> hostnamectl status Static hostname: alchemy Icon name: computer-laptop Chassis: laptop Machine ID: b918ea6883fbabffd9bae79653c1dd82 Boot ID: a586eea49d304ea5bca3dae7502ea331 Operating System: openSUSE 13.1 (Bottle) (x86_64) CPE OS Name: cpe:/o:opensuse:opensuse:13.1 Kernel: Linux 3.11.10-17-desktop Architecture: x86_64 17:17 alchemy:~> hostname alchemy 17:18 alchemy:~> hostname -s alchemy 17:19 alchemy:~> hostname -f alchemy.3111skyline.com Comparing against Archlinux (which makes no use of /etc/HOSTNAME) the operation is the same. The Arch box is a full-server and has no resolution problems: 16:13 phoinix:.../pkg/x86_64> hostnamectl status Static hostname: phoinix Icon name: computer-desktop Chassis: desktop Machine ID: 8d32bcc3152b4a1f87c4d71f948f93fb Boot ID: 85795ece61404ea58409cec3187d3003 Operating System: Arch Linux Kernel: Linux 3.14.1-1-ARCH Architecture: x86-64 17:18 phoinix:.../pkg/x86_64> hostname phoinix 17:18 phoinix:.../pkg/x86_64> hostname -s phoinix 17:18 phoinix:.../pkg/x86_64> hostname -f phoinix.rlfpllc.com I haven't drilled-down on how systemd manages this issue, but it appears all is working correctly now. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org