[Users] Fwd: vzctl 4.5 vzlist disappeared?

spameden spameden at gmail.com
Sun Aug 25 05:06:05 EDT 2013


There is an error however when installing vzctl:

Setting up vzctl (4.5-1) ...
/var/lib/dpkg/info/vzctl.postinst: line 42: test: configure: integer
expression expected

Line 42:

41 # Run post-install script only when installing
42 test $1 -eq 1 && /usr/libexec/vzctl/scripts/vz-postinstall

But it works now, libcgroup1 was installed before and I didnt move lib64 to
lib, it's already a symlink I think.


2013/8/25 spameden <spameden at gmail.com>

>
>
>
> 2013/8/25 Kir Kolyshkin <kir at openvz.org>
>
>>  On 08/25/2013 12:46 AM, spameden wrote:
>>
>>  # dpkg -L vzctl|grep vzlist
>> # dpkg -L vzctl-core|grep vzlist
>> #
>>
>>  nothing, i converted rpm to deb, could it be the issue?
>>
>>
>> I can't reproduce it either. You must did something wrong, and since you
>> don't provide
>> detailed logs of what you did, I can't tell what exactly.
>>
>> This is what I did, trying to reproduce your problem:
>>
>> root at kir-deb71-ovz:~# sha1sum *rpm
>> d84d6ad6910263ac6bd366292d1c95d458567afe  vzctl-4.5-1.x86_64.rpm
>> 0f8069b1a4d3e6c7e97867cda7842cca8c750286  vzctl-core-4.5-1.x86_64.rpm
>>
>> root at kir-deb71-ovz:~# ls -l *.rpm
>> -rw-r--r-- 1 root root 124630 Aug 25 01:18 vzctl-4.5-1.x86_64.rpm
>> -rw-r--r-- 1 root root 274686 Aug 25 01:18 vzctl-core-4.5-1.x86_64.rpm
>>
>>
>> fakeroot alien --to-deb --scripts --keep-version vz*.rpm
>> warning: vzctl-4.5-1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID
>> a7a1d4b6: NOKEY
>> ....
>> vzctl_4.5-1_amd64.deb generated
>> warning: vzctl-core-4.5-1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key
>> ID a7a1d4b6: NOKEY
>> ....
>> vzctl-core_4.5-1_amd64.deb generated
>>
>> root at kir-deb71-ovz:~# ls -l vz*_4.5-1_amd64.deb
>> -rw-r--r-- 1 root root 243128 Aug 25 01:23 vzctl-core_4.5-1_amd64.deb
>> -rw-r--r-- 1 root root  98334 Aug 25 01:23 vzctl_4.5-1_amd64.deb
>>
>> # dpkg -i vzctl_4.5-1_amd64.deb vzctl-core_4.5-1_amd64.deb
>> ....
>>
>>
>> # dpkg -L vzctl | grep vzlist
>> /usr/share/man/man8/vzlist.8.gz
>> /usr/sbin/vzlist
>>
>>
>> Note however vzlist doesn't work thought, I had to do this:
>>
>> mv /usr/lib64/* /usr/lib
>> ldconfig
>> apt-get install libcgroup1
>>
>> After that it works just fine:
>>
>> root at kir-deb71-ovz:~# vzlist -a
>>
>>       CTID      NPROC STATUS    IP_ADDR         HOSTNAME
>>        101         20 running   -               -
>>        102          - stopped   -               -
>>
>>
>>
>>
>>
>>  2013/8/25 Kir Kolyshkin <kir at openvz.org>
>>
>>>  On 08/24/2013 08:09 AM, spameden wrote:
>>>
>>>   It seems there is no vzlist anymore in 4.5 version of vzctl.
>>>
>>>
>>>  You must be kidding.
>>>
>>> # vzlist -a
>>>       CTID      NPROC STATUS    IP_ADDR         HOSTNAME
>>> <........................>
>>>
>>> # rpm -qf /usr/sbin/vzlist
>>> vzctl-4.5-1.x86_64
>>>
>>> # vzctl --version
>>> vzctl version 4.5
>>>
>>> # rpm -q vzctl-core vzctl
>>> vzctl-core-4.5-1.x86_64
>>> vzctl-4.5-1.x86_64
>>>
>>>
>>> why it was removed?
>>>
>>>
>>> It was not.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openvz.org
>>> https://lists.openvz.org/mailman/listinfo/users
>>>
>>>
>>
>>
>> _______________________________________________
>> Users mailing listUsers at openvz.orghttps://lists.openvz.org/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
>>
> that's weird, I have same sha1sums on rpm
>
> I've just did fakeroot again and vzlist is here .. pretty odd, but solved
> now.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20130825/c82d885a/attachment.html>


More information about the Users mailing list