Description of problem: hostname -s on a host with a host name that does not resolve in the DNS behaves differently on Fedora as on FreeBSD/OpenBSD/AIX/MacOsX. On Fedora when the host name does not resolve in the DNS hostname -s returns "hostname: Unknown host" message. On FreeBSD/OpenBSD/AIX/MacOsX when the host name does not resolve in the DNS hostname -s returns short host name (no matter if the host name resolves or not). hostname man page does not say anything about whether the hostname should resolve or not. -s, --short Display the short host name. This is the host name cut at the first dot. Version-Release number of selected component (if applicable): net-tools-1.60-93.fc11.x86_64 How reproducible: Always Steps to Reproduce: run hostname -s on a server whose Fully qualified host name does not resolve in the DNS. Actual results: [root ~]# hostname some.thing.stupid [root ~]# hostname some.thing.stupid [root ~]# hostname -s hostname: Unknown host Expected results: [root ~]# hostname some.thing.stupid [root ~]# hostname some.thing.stupid [root ~]# hostname -s some
net-tools-1.60-94.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/net-tools-1.60-94.fc11
net-tools-1.60-94.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update net-tools'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-11010
net-tools-1.60-95.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update net-tools'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-11010
net-tools-1.60-97.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/net-tools-1.60-97.fc12
net-tools-1.60-98.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update net-tools'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-11140
net-tools-1.60-95.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.