Package: xen-tools
Version: 3.9-3
Severity: normal

As stated in "man hostname":
 /etc/hosts  /etc/hostname This file should only contain domain name and
        not the full FQDN.

But in /usr/lib/xen-tools/debian.d/50-setup-hostname (line 34), target 
/etc/hostname is set to the hostname parameter (fqdn as stated in "man 
xen-tools").

The patch will probably look like this:

--- 50-setup-hostname.old       2008-07-27 15:09:27.000000000 +0200
+++ 50-setup-hostname   2008-07-27 15:10:16.000000000 +0200
@@ -31,8 +31,8 @@
 #
 #  Setup the mailname + hostname files.
 #
-echo ${hostname} > ${prefix}/etc/hostname
-echo ${hostname} > ${prefix}/etc/mailname
+echo ${hostname} | sed '[EMAIL PROTECTED](\w*\)[EMAIL PROTECTED]@' > 
${prefix}/etc/hostname
+echo ${hostname} | sed '[EMAIL PROTECTED](\w*\)[EMAIL PROTECTED]@' > 
${prefix}/etc/mailname
 
 
 #




-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xen-tools depends on:
ii  debootstrap                   1.0.10     Bootstrap a basic Debian system
ii  libconfig-inifiles-perl       2.39-5     Read .ini-style configuration file
ii  libtext-template-perl         1.44-1.2   Text::Template perl module
ii  perl-modules                  5.10.0-11  Core Perl modules

Versions of packages xen-tools recommends:
ii  libexpect-perl                1.20-1     Expect.pm - Perl Expect interface
ii  reiserfsprogs                 1:3.6.19-6 User-level tools for ReiserFS file
ii  rinse                         1.3-2      RPM installation environment
ii  xen-hypervisor-3.2-1-i386 [xe 3.2.1-2    The Xen Hypervisor on i386
ii  xen-shell                     1.8-3      Console based Xen administration u
pn  xfsprogs                      <none>     (no description available)

xen-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to