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:

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

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)


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

Reply via email to