Package: hostname
Version: 3.23
Severity: minor

The -A / --all-fqdns description in the hostname(1) man page confuses
users. For instance:

  https://lists.debian.org/debian-user/2022/04/msg00755.html

It says "Displays all FQDNs of the machine." This should be something
like:

  Displays the FQDNs associated with all configured network interfaces.

And somewhere in the paragraph, add something like:

  Note that this may be different from the FQDN of the machine,
  provided by -f.

Moreover, in the -f / --fqdn / --long description:

  See the warnings in section THE FQDN above und use
  hostname --all-fqdns instead wherever possible.

This is a bad advice! On my laptop (which is on a local network
at home), "hostname -A" just outputs a blank line. In a case like
a local network, there is no point in having a reverse for network
interfaces. On this other hand, "hostname -f" is typically useful
to get the domain part of Message-IDs generated on the machine,
for instance.

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

Kernel: Linux 5.17.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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

hostname recommends no packages.

hostname suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to