Bug 16095 - vps-create: missing value check
: vps-create: missing value check
Status: CLOSED WONTFIX
: Branch 4.0
(All bugs in Branch 4.0/vzctl)
: 4.0
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2008-06-19 13:01 by
Modified: 2011-09-18 21:07 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-06-19 13:01:55
/usr/share/vzctl/scripts/vps-create: line 51: [: : integer expression expected

sh -x reveals this:

+ TMP='Filesystem         1024-blocks      Used Available Capacity Mounted on
/dev/sda3            138528232  33298668 103833276      25% /var/lib/vz'
++ echo 'Filesystem         1024-blocks      Used Available Capacity Mounted on
/dev/sda3            138528232  33298668 103833276      25% /var/lib/vz'
++ awk 'END{print $4}'
+ AVAIL=103833276
+ '[' ' 63 70' = ' 1f 8b' ']'
++ find /var/lib/vz/template/cache/altlinux-2.4-squirrel.tar -maxdepth 0 -path
'' -printf %k
+ NEEDED=
+ OPT=
+ '[' 103833276 -lt '' ']'
/usr/share/vzctl/scripts/vps-create: line 51: [: : integer expression expected
------- Comment #1 From 2008-06-19 13:29:30 -------
Версия vzctl какая?
На vzctl-3.0.22-alt3 воспроизводится или нет?
------- Comment #2 From 2009-04-10 03:30:01 -------
vzctl from Sisyphus is not affected by this issue.
------- Comment #3 From 2009-04-11 22:11:53 -------
Cool.  Is it reasonable to backport it?
------- Comment #4 From 2011-09-18 21:07:55 -------
закрываю. 4.0 у меня нет и бэкпортировать желания нет.