Your message dated Wed, 8 Sep 2010 21:46:48 +0200
with message-id <[email protected]>
and subject line Solved in 3.0.24
has caused the Debian Bug report #566254,
regarding vzctl: /etc/hostname should be set to hostname, not 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.)
--
566254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566254
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vzctl
Version: 3.0.22-14
/etc/hostname should contain only the hostname of the system, i.e. "foo"
for foo.example.org. The file /etc/vz/dists/scripts/debian-set_hostname.sh
puts the fully-qualified domain name in /etc/hostname.
Quick patch to fix it:
--- debian-set_hostname.sh.dist 2008-11-15 20:55:26.000000000 +0000
+++ debian-set_hostname.sh 2010-01-22 13:18:14.000000000 +0000
@@ -31,6 +31,9 @@
local cfgfile=$1
local hostname=$2
+ # /etc/hostname should only contain the host name, not the FQDN
hostname ${hostname}
+ hostname=$(echo $hostname | sed 's/\..*//')
+
[ -z "${hostname}" ] && return 0
echo "${hostname}" > /etc/hostname
hostname ${hostname}
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/2 CPU cores)
Locale: lang=en...@euro, lc_ctype=en...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages vzctl depends on:
ii iproute 20080725-2 networking and traffic control too
ii libc6 2.7-18 GNU C Library: Shared libraries
ii vzquota 3.0.11-1 server virtualization solution - q
Versions of packages vzctl recommends:
ii rsync 3.0.3-2 fast remote file copy program (lik
Versions of packages vzctl suggests:
pn linux-patch-openvz <none> (no description available)
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Version: 3.0.24-1
Hi
The issue you have reported is solved in 3.0.24-1 version uploaded
some time ago and available in testing and frozen.
Best regards,
// Ola
--
--- Inguza Technology AB --- MSc in Information Technology ----
/ [email protected] Annebergsslingan 37 \
| [email protected] 654 65 KARLSTAD |
| http://inguza.com/ Mobile: +46 (0)70-332 1551 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
--- End Message ---