Bug#347458: vserver-debiantools: syntax error in stripserver -- missing double quoute

2006-01-11 Thread Ola Lundqvist
Thanks a lot

Will be applied.

Regards,

// Ola

On Tue, Jan 10, 2006 at 09:51:43PM +0100, Lukasz Pankowski wrote:
 Package: vserver-debiantools
 Version: 0.2.5
 Severity: normal
 Tags: patch
 
 Hi,
 
 Calling stripserver without required permissions manifest syntax error
 in the script
 
 $ /usr/sbin/stripserver 
 /usr/sbin/stripserver: line 292: syntax error near unexpected token `('
 /usr/sbin/stripserver: line 292: `echo Must be run from the host 
 server (security context 0) 12'
 
 which is caused by the lack of closing double quote more than hundred
 lines before
 
 --- stripserver.orig2006-01-10 21:28:51.0 +0100
 +++ stripserver 2006-01-10 21:29:10.0 +0100
 @@ -162,7 +162,7 @@
 case $2 in
 [a-z]*)
 DIST=$2
 -   if [ woody != $2 ]  [ sarge != $2 ] 
 ; then
 +   if [ woody != $2 ]  [ sarge != $2 ] 
 ; then
 echo ${0##*/} warning: I only know how 
 to do \woody\ and \sarge\, be careful! 12
 fi
 ;;
 
 
 -- System Information:
 Debian Release: testing/unstable
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
 Architecture: i386 (i686)
 Shell:  /bin/sh linked to /bin/bash
 Kernel: Linux 2.6.14+vserver
 Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
 
 Versions of packages vserver-debiantools depends on:
 ii  binutils 2.16.1cvs20051214-1 The GNU assembler, linker and 
 bina
 ii  debootstrap  0.3.3   Bootstrap a basic Debian system
 ii  rsync2.6.6-1 fast remote file copy program 
 (lik
 ii  util-vserver 0.30.209-2  tools for Virtual private 
 servers 
 
 vserver-debiantools recommends no packages.
 
 -- no debconf information
 
 -- 
 
 =*= Lukasz Pankowski =*=
 
 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


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



Bug#347458: vserver-debiantools: syntax error in stripserver -- missing double quoute

2006-01-10 Thread Lukasz Pankowski
Package: vserver-debiantools
Version: 0.2.5
Severity: normal
Tags: patch

Hi,

Calling stripserver without required permissions manifest syntax error
in the script

$ /usr/sbin/stripserver 
/usr/sbin/stripserver: line 292: syntax error near unexpected token `('
/usr/sbin/stripserver: line 292: `echo Must be run from the host 
server (security context 0) 12'

which is caused by the lack of closing double quote more than hundred
lines before

--- stripserver.orig2006-01-10 21:28:51.0 +0100
+++ stripserver 2006-01-10 21:29:10.0 +0100
@@ -162,7 +162,7 @@
case $2 in
[a-z]*)
DIST=$2
-   if [ woody != $2 ]  [ sarge != $2 ] ; 
then
+   if [ woody != $2 ]  [ sarge != $2 ] ; 
then
echo ${0##*/} warning: I only know how to 
do \woody\ and \sarge\, be careful! 12
fi
;;


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14+vserver
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages vserver-debiantools depends on:
ii  binutils 2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii  debootstrap  0.3.3   Bootstrap a basic Debian system
ii  rsync2.6.6-1 fast remote file copy program (lik
ii  util-vserver 0.30.209-2  tools for Virtual private servers 

vserver-debiantools recommends no packages.

-- no debconf information

-- 

=*= Lukasz Pankowski =*=


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