Your message dated Sun, 03 Nov 2013 15:19:06 +0000
with message-id <[email protected]>
and subject line Bug#718393: fixed in hostname 3.15
has caused the Debian Bug report #718393,
regarding hostname --all-fqdns is broken: doesn't list the FQDN
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.)


-- 
718393: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718393
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hostname
Version: 3.13
Severity: normal

On my machine, which is on a local network (thus doesn't have a
"public" IP address):

$ hostname --fqdn
xvii.vinc17.org

$ hostname --all-fqdns
xvii.local

It seems that xvii.local is set up by avahi-daemon, as I can see in
the syslog file:

Jul 28 18:12:34 xvii avahi-daemon[2690]: Server startup complete. Host name is 
xvii.local. Local service cookie is 1210368067.

However xvii.vinc17.org resolves to 127.0.1.1 (via /etc/hosts) while
xvii.local resolves to 192.168.1.2 (the IP address of eth0, obtained
via DHCP). This means that xvii.vinc17.org is permanent, while
xvii.local will no longer exist if eth0 is brought down.

The method use by "hostname --all-fqdns" should make sure that the
FQDN is listed, because this is what one expects.

The hostname(1) man page gives strange recommendations:

  -f, --fqdn, --long
    Display  the FQDN (Fully Qualified Domain Name). A FQDN consists
    of a short host name and the DNS domain  name.  Unless  you  are
    using  bind  or NIS for host lookups you can change the FQDN and
    the DNS  domain  name  (which  is  part  of  the  FQDN)  in  the
    /etc/hosts file. See the warnings in section THE FQDN above, and
    avoid using this option; use hostname --all-fqdns instead.

Why use --all-fqdns instead of --fqdn? If the goal is to rely on a
permanent FQDN (e.g. for host identification in log files are things
like that), then --fqdn is a much better way. Really, this depends
on what the user wants to do...

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hostname depends on:
ii  libc6  2.17-7

hostname recommends no packages.

hostname suggests no packages.

-- no debconf information

-- debsums errors found:
sh: 1: /usr/sbin/dpkg-divert: not found

--- End Message ---
--- Begin Message ---
Source: hostname
Source-Version: 3.15

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.

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: Sun, 03 Nov 2013 15:27:04 +0100
Source: hostname
Binary: hostname
Architecture: source amd64
Version: 3.15
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: 718393 726484
Changes: 
 hostname (3.15) unstable; urgency=low
 .
   * Applied patch to make it possible to install binaries and man pages into
     custom directories.
     Thanks to Jiri Popelka <[email protected]> (Closes: #726484)
   * Tried to clarify manpage. (Closes: #718393)
   * Removed hostname.1.fr with was outdated and not kept in sync.
Checksums-Sha1: 
 a1b898188e9cd2f6f7adaa35f4327543cfcef725 804 hostname_3.15.dsc
 4afffe4046ac516913acbea91e19131f9c238ade 13039 hostname_3.15.tar.gz
 d06a4bc812c9ab4afb78669911be957f0d166b06 13914 hostname_3.15_amd64.deb
Checksums-Sha256: 
 e787dec3ac9ee20ff564d6d7afde242103e71830907ee8fa63367162b04e9844 804 
hostname_3.15.dsc
 b6d10114ed14306b21745d2cac1b9adf7a2546f16b9fd719bec14bd7cec61d20 13039 
hostname_3.15.tar.gz
 4a340044308432b3e89ca3c4c2df307e0baefed60b501fbcdb04db7643ff95f0 13914 
hostname_3.15_amd64.deb
Files: 
 9f98c059c7b1223d3cce137f90ba9960 804 admin required hostname_3.15.dsc
 f93c87de2517850de5f47234e3bcb563 13039 admin required hostname_3.15.tar.gz
 65f8726a0fc90c2c01df6cd523d292f1 13914 admin required hostname_3.15_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iD8DBQFSdmCWVkEm8inxm9ERAvjkAJwLhW+6/pt221lu8udSrlMl6V0GVgCggMtK
T6uu9555SAbw9JNsX5dDHSY=
=c1c2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to