Hi

On Tue, Dec 13, 2005 at 11:59:25PM -0500, The Anarcat wrote:
> Package: util-vserver
> Version: 0.30.209-1
> Severity: normal
> Tags: patch
> 
> Ok, bear with me here, i've spent the whole day tracking down problems
> in the package, and this is all i've figured. It is benign, really, but
> is clearly a bug.
> 
> In /usr/lib/util-vserver/functions, you have a call to the "colorize"
> function. It doesn't respect the usage of the function:
> 
> ## Usage: colorize <style> <command>
> 
> You will see the behavior when trying to create a vserver that already
> exists, under some weird circumstances I'm not sure you'll be able to
> reproduce. At any case, it's a wrong usage and should be fixed, this
> way:

Thanks a lot for the patch.

But what is colorize?

> --- functions.orig      2005-12-13 23:44:28.414816664 -0500
> +++ functions   2005-12-13 23:44:37.538429664 -0500
> @@ -213,7 +213,7 @@
>      if test -n "$_VS_ERRFILE"; then
>         echo "$@" >>"$_VS_ERRFILE"
>      else
> -       colorize echo -n "$@" >&2
> +       colorize error echo -n "$@" >&2
>      fi
>      echo
>  
> 
> As I said, it's trivial, benign, but should be fixed and I don't know
> where else to report this.

I suggest you also file this upstream. See http://linux-vserver.org/
or just simply send an email to vserver@list.linux-vserver.org describing
this.

Regards,

// Ola

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

-- 
 --------------------- 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]

Reply via email to