Package: xen-tools
Version: 3.9-2~bpo40+1
Severity: normal
Hello,
normally /etc/hosts has lines like
<IP> <FQDN> <Alias1> <Alias2>...
but the lines added by 50-setup-hostname is using
<IP> <Alias> <FQDN>
Small patch attached for the version in the debian.d/ directory, but it
applies also with offset/fuzz in the other distribution directories.
Kind regards
Wolfgang Karall
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages xen-tools depends on:
ii debootstrap 0.3.3.2etch1 Bootstrap a basic Debian system
ii libconfig-inifiles-perl 2.39-2 Read .ini-style configuration file
ii libtext-template-perl 1.44-1.1 Text::Template perl module
ii perl-modules 5.8.8-7etch1 Core Perl modules
Versions of packages xen-tools recommends:
pn libexpect-perl <none> (no description available)
ii reiserfsprogs 1:3.6.19-4 User-level tools for ReiserFS file
ii rinse 1.0-0 RPM installation environment
ii xen-hypervisor-3.0.3-1-amd64 3.0.3-0-4 The Xen Hypervisor on AMD64
pn xen-shell <none> (no description available)
ii xfsprogs 2.8.11-1 Utilities for managing the XFS fil
-- no debconf information
--- 50-setup-hostname.orig 2008-04-25 08:35:24.054568443 +0200
+++ 50-setup-hostname 2008-04-25 08:36:03.836370996 +0200
@@ -91,7 +91,7 @@ if [ -z "${dhcp}" ]; then
logMessage Adding ${hostname} and ${name} to /etc/hosts on the host
- echo "${ip1} ${name} ${hostname}" >> /etc/hosts
+ echo "${ip1} ${hostname} ${name}" >> /etc/hosts
#
# If we've updated the /etc/hosts file on the host machine