Your message dated Sat, 22 Mar 2008 18:53:45 +0100 with message-id <[EMAIL PROTECTED]> and subject line Some bugs was not closed. has caused the Debian Bug report #453635, regarding vserver-debiantools: incorrect resolv.conf generation 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.) -- 453635: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453635 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: vserver-debiantools Version: 0.5.0 Severity: normal Tags: patch I have trouble with newvserver on my system. It does not generate resolv.conf correctly. The problem seems to be that my eth0 has multiple configured primary addresses (due to other running vservers). The script magic to the find the local address (in case of localhost nameserver) resolves to something with newlines in it, which causes a 'sed' to fail ("unterminated command" or something like that). Here is a patch that just picks the first address. --- newvserver.orig 2007-11-30 11:05:49.000000000 +0100 +++ newvserver 2007-11-30 11:06:04.000000000 +0100 @@ -508,7 +508,7 @@ # grab DNS servers from the host-server for `resolv.conf' HOST_IP=$(ip -o addr show dev $INTERFACE primary scope global | \ - sed -n 's;.*inet \([^/]*\)/.*;\1;p') + sed -n 's;.*inet \([^/]*\)/.*;\1;p' | head -1) (echo search $VDOMAIN; grep '^nameserver' /etc/resolv.conf | sed "s/127.0.0.1/$HOST_IP/") \ > "$VROOTDIR/$VHOST/etc/resolv.conf" Alternatively, to pick the real primary address for the interface, maybe something like: HOST_IP=$(/sbin/ifconfig $INTERFACE \ | sed -ne 's/.*inet addr:\([0-9.]*\).*/\1/p') -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.22-2-vserver-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages vserver-debiantools depends on: ii binutils 2.18-1 The GNU assembler, linker and bina ii debootstrap 1.0.6 Bootstrap a basic Debian system ii iproute 20070313-1 Professional tools to control the ii rsync 2.6.9-5 fast remote file copy program (lik ii util-vserver 0.30.214-5 user-space tools for Linux-VServer Versions of packages vserver-debiantools recommends: ii dnsutils 1:9.4.1-P1-3 Clients provided with BIND -- no debconf information
--- End Message ---
--- Begin Message ---Version: 0.5.1 Hi Some bugs was not closed for some reason. Maybe I never uploaded the intermittent version. vserver-debiantools (0.6.0) unstable; urgency=low * Now updated to support lenny, closes: #469365. * Correction for find option orders, closes: #421571. * Applied patch from Vincent Bernat <[EMAIL PROTECTED]> to allow post install hooks in the host as well. Closes: #467293. -- Ola Lundqvist <[EMAIL PROTECTED]> Fri, 21 Mar 2008 13:07:30 +0100 vserver-debiantools (0.5.1) unstable; urgency=low * Change template name substitutes to avoid binary file modifications. Closes: #469861, #219233. * Applied patch from Tijs van Dam <[EMAIL PROTECTED]> to handle host ip in a correct way in both newvserver and newnfsvserver. Closes: #453635. -- Ola Lundqvist <[EMAIL PROTECTED]> Fri, 21 Mar 2008 12:45:54 +0100 Best regards, // Ola -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://opalsys.net/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / ---------------------------------------------------------------
--- End Message ---

