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 #469861,
regarding vserver-debiantools: dupvserver substitutes template occurences in
binary files
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.)
--
469861: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469861
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: vserver-debiantools
Version: 0.3.4
Severity: important
Tags: patch
When running dupvserver, a rgrep is used to find occurences of the
'from' vserver name in files among /etc, replacing those occurences with
the 'to' vserver name.
In my case, it happened to replace a string inside the emacs binary
itself, having the curious effect of:
- replacing the /etc/alternatives/emacs symlink with a plain file
- this plain file being a crashy emacs (did not survived the sed'ing)
A simple fix is adding the -I flag to the rgrep calls. It fixes this very
bug. A better fix would probably involve skipping symlinks.
Proposed patch against Etch version (should apply on Sid's 0.5.0 too which
has the same bug).
176,179c176,179
< FINDTOREPNAME1=$(rgrep "[\" \t]$FROM[\"\t \.]" $VSERVERS_ROOT/$TO/etc/
2>&1 | sed -e "s/:.*//;" | grep -v "^grep$")
< FINDTOREPNAME2=$(rgrep "^$FROM[\"\t \.]" $VSERVERS_ROOT/$TO/etc/ 2>&1 |
sed -e "s/:.*//;" | grep -v "^grep$")
< FINDTOREPNAME3=$(rgrep "[\"\t ]$FROM$" $VSERVERS_ROOT/$TO/etc/ 2>&1 | sed
-e "s/:.*//;" | grep -v "^grep$")
< FINDTOREPNAME4=$(rgrep "^$FROM$" $VSERVERS_ROOT/$TO/etc/ 2>&1 | sed -e
"s/:.*//;" | grep -v "^grep$")
---
> FINDTOREPNAME1=$(rgrep -I "[\" \t]$FROM[\"\t \.]" $VSERVERS_ROOT/$TO/etc/
> 2>&1 | sed -e "s/:.*//;" | grep -v "^grep$")
> FINDTOREPNAME2=$(rgrep -I "^$FROM[\"\t \.]" $VSERVERS_ROOT/$TO/etc/ 2>&1
> | sed -e "s/:.*//;" | grep -v "^grep$")
> FINDTOREPNAME3=$(rgrep -I "[\"\t ]$FROM$" $VSERVERS_ROOT/$TO/etc/ 2>&1 |
> sed -e "s/:.*//;" | grep -v "^grep$")
> FINDTOREPNAME4=$(rgrep -I "^$FROM$" $VSERVERS_ROOT/$TO/etc/ 2>&1 | sed -e
> "s/:.*//;" | grep -v "^grep$")
187c187
< FINDTOREPIP=$(rgrep "$FROMIP" $VSERVERS_ROOT/$TO/etc/ 2>&1 | sed -e
"s/:.*//;" | grep -v "^grep$" | sort -u)
---
> FINDTOREPIP=$(rgrep -I "$FROMIP" $VSERVERS_ROOT/$TO/etc/ 2>&1 | sed -e
> "s/:.*//;" | grep -v "^grep$" | sort -u)
-- 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-vserver-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages vserver-debiantools depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii debootstrap 0.3.3.2etch1 Bootstrap a basic Debian system
ii rsync 2.6.9-2etch1 fast remote file copy program (lik
ii util-vserver 0.30.212-1 user-space tools for Linux-VServer
vserver-debiantools recommends no packages.
-- 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 ---