OpenVZ Forum


Home » Mailing lists » Users » vzctl 3.0.22,
vzctl 3.0.22, [message #26342] Mon, 21 January 2008 22:17 Go to next message
Dariush Pietrzak is currently offline  Dariush Pietrzak
Messages: 40
Registered: November 2007
Member
From: openvz.org
Hi,
 I'm getting this after upgrade to 3.0.22

srvr:/# vzctl stop testlink
Stopping VE ...
VE was stopped
/usr/lib/vzctl/scripts/vps-functions: line 146: [: del: integer expression expected

ii  vzctl                                                 3.0.22-2                                              server virtualization solution - control tools
srvr:/# vzctl start testlink
Starting VE ...
VE is mounted
Adding IP address(es): 192.168.99.82
/usr/lib/vzctl/scripts/vps-functions: line 146: [: add: integer expression expected

and this:
 [ "$1" -eq "add" ]
(test seems to use = for strings and -eq for integers, which is strange,since
 I do recall using -eq specifically for strings)

-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure
Re: vzctl 3.0.22, [message #26344 is a reply to message #26342] Mon, 21 January 2008 22:28 Go to previous messageGo to next message
ldv is currently offline  ldv
Messages: 24
Registered: June 2006
Junior Member
From: openvz.org
Hi,

On Mon, Jan 21, 2008 at 11:17:54PM +0100, Dariush Pietrzak wrote:
>  I'm getting this after upgrade to 3.0.22
> 
> srvr:/# vzctl stop testlink
> Stopping VE ...
> VE was stopped
> /usr/lib/vzctl/scripts/vps-functions: line 146: [: del: integer expression expected
> 
> ii  vzctl                                                 3.0.22-2                                              server virtualization solution - control tools
> srvr:/# vzctl start testlink
> Starting VE ...
> VE is mounted
> Adding IP address(es): 192.168.99.82
> /usr/lib/vzctl/scripts/vps-functions: line 146: [: add: integer expression expected
> 
> and this:
>  [ "$1" -eq "add" ]
> (test seems to use = for strings and -eq for integers, which is strange,since
>  I do recall using -eq specifically for strings)

vzctl source code does not contain such expressions,
$ fgrep -re '-eq "' . |wc -l
0
Looks like you are testing some patched vzctl build.


-- 
ldv
Re: vzctl 3.0.22 [message #26353 is a reply to message #26342] Tue, 22 January 2008 05:30 Go to previous message
Thorsten Schifferdeck is currently offline  Thorsten Schifferdeck
Messages: 38
Registered: February 2006
Member
From: openvz.org
Hi Darius,

it's a debian package problem vzctl-3.0.22-2, see:

Debian bug report ->
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459717 and
OpenVZ bug report -> http://bugzilla.openvz.org/show_bug.cgi?id=780

Please report this bug to debian bts!

Regards,
 Thorsten

Am Mo, 21.01.2008, 23:17, schrieb Dariush Pietrzak:
> Hi,
>  I'm getting this after upgrade to 3.0.22
>
> srvr:/# vzctl stop testlink
> Stopping VE ...
> VE was stopped
> /usr/lib/vzctl/scripts/vps-functions: line 146: [: del: integer expression
> expected
>
> ii  vzctl                                                 3.0.22-2
>                                      server virtualization solution -
> control tools
> srvr:/# vzctl start testlink
> Starting VE ...
> VE is mounted
> Adding IP address(es): 192.168.99.82
> /usr/lib/vzctl/scripts/vps-functions: line 146: [: add: integer expression
> expected
>
> and this:
>  [ "$1" -eq "add" ]
> (test seems to use = for strings and -eq for integers, which is
> strange,since
>  I do recall using -eq specifically for strings)
>
> --
> Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
>  Total Existance Failure
-- 
Thorsten Schifferdecker
email ts@systs.org
phone +49 (0) 911 50 63 69 82
Previous Topic: OpenVZ Kernel and VMware Server on same Host
Next Topic: /proc/user_beancounters resetting,
Goto Forum:
  


Current Time: Sat Nov 17 17:58:09 GMT 2018