Your message dated Tue, 27 Oct 2009 21:09:16 +0000
with message-id <[email protected]>
and subject line Bug#552482: fixed in hostname 3.01
has caused the Debian Bug report #552482,
regarding hostname -s behaviour should be consistent with other unixes (and
with documentation)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
552482: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552482
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hostname
Version: 2.95
hostname -s
on a host with a hostname that does not resolve in the DNS
behaves differently on Debian as on FreeBSD/OpenBSD/AIX/MacOsX.
On Debian when the hostname does not resolve in the DNS
hostname -s
returns "hostname: Unknown host" message.
On FreeBSD/OpenBSD/AIX/MacOsX when the hostname does not resolve in the DNS
hostname -s
returns short host name (no matter if the hostname 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.
Steps to Reproduce:
run hostname -s on a server whose Fully qualified hostname 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
See also
https://bugs.launchpad.net/ubuntu/+source/hostname/+bug/389602
where reporter says that:
"The documentation states that -s just trims the domain off if it exists, but
that's not what it does.
Either it should behave exactly that way or the doc should be updated."
--- End Message ---
--- Begin Message ---
Source: hostname
Source-Version: 3.01
We believe that the bug you reported is fixed in the latest version of
hostname, which is due to be installed in the Debian FTP archive:
hostname_3.01.dsc
to main/h/hostname/hostname_3.01.dsc
hostname_3.01.tar.gz
to main/h/hostname/hostname_3.01.tar.gz
hostname_3.01_amd64.deb
to main/h/hostname/hostname_3.01_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated hostname package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 27 Oct 2009 13:25:38 +0100
Source: hostname
Binary: hostname
Architecture: source amd64
Version: 3.01
Distribution: unstable
Urgency: low
Maintainer: Debian Hostname Team <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description:
hostname - utility to set/show the host name or domain name
Closes: 552482
Changes:
hostname (3.01) unstable; urgency=low
.
* Made 'hostname -s' only display the host name cut at the first dot.
(Closes: #552482)
Checksums-Sha1:
34e8a1e125303af23bba272649889133e1312951 804 hostname_3.01.dsc
9bf56c9c7e67fc055eee80bcc08b3e174a6bb03f 11307 hostname_3.01.tar.gz
3bdff9b878c48fe561972c65bfb1cbbdea8f2da5 14194 hostname_3.01_amd64.deb
Checksums-Sha256:
52c931e5546beb0fec294fdfb2541354937d6ed501a90fdbf53ced9e87145dce 804
hostname_3.01.dsc
95daa7598f71bde877940a1be7384f297633d636ec047a4044bda12dd9c48109 11307
hostname_3.01.tar.gz
f0209ab08d733f693fbc16d99f70b71602ad1af8fd6251e4ad778eb4f77b86f7 14194
hostname_3.01_amd64.deb
Files:
96d4170b5fcd0e52b7640b8892b14c04 804 admin required hostname_3.01.dsc
866c4250583960bf730fb7a8815dbb03 11307 admin required hostname_3.01.tar.gz
81440b92a5e15ed6b2879fcef6c13a56 14194 admin required hostname_3.01_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFK5ubsVkEm8inxm9ERArM0AJ4sFdTClK6MekSpuDBlJTeQvHH3TgCeIA4P
Ohnlc8eCfSHMIXYcsYtapI8=
=atlK
-----END PGP SIGNATURE-----
--- End Message ---