OpenVZ Forum


Home » Mailing lists » Users » More on making an OpenVZ template
Re: More on making an OpenVZ template [message #43299 is a reply to message #43298] Sun, 21 August 2011 16:40 Go to previous messageGo to previous message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
On Sun, Aug 21, 2011 at 6:18 PM, Kir Kolyshkin <kir@openvz.org> wrote:
> On 08/21/2011 07:26 PM, Benjamin Henrion wrote:
>>
>> On Sun, Aug 21, 2011 at 4:10 PM, Kir Kolyshkin<kir@openvz.org>  wrote:
>>>
>>> I have committed the patch:
>>>
>>> http://git.openvz.org/?p=vzctl;a=commit;h=f83b28435f582f2f74fb3267b89b061a551b32e2
>>>
>>> And then a few more (to check it works in Debian without /bin/bash):
>>>
>>> http://git.openvz.org/?p=vzctl;a=commit;h=a86beacde8c1fba4002eaf5bf48a535e7d46ffc0
>>>
>>> http://git.openvz.org/?p=vzctl;a=commit;h=382f306cd0865bb4bcafc4f7a4b5cfe2f809296c
>>
>> I have compiled it, and I can report it works
>
> Thanks for testing!
>
>> I have remove the bash
>> binary I got from tinyvz, and now it enters well in openwrt rootfs (I
>> have tested with the original vzctl 3.0.24 where it fails to enter if
>> there is no /bin/bash):
>
> Well, these patches only affect vzctl create (which runs postcreate.sh
> script)
> and vzctl set (--ipadd/--ipdel, --nameserver, --hostname, --quotaugidlimit
> and --userpasswd).
>
> vzctl enter have nothing to do with the abovementioned patches.
>
> There was a bug in vzctl which prevented enter/exec to work if there was
> no /bin/bash in CT and /bin/sh was the one from busybox, see
> http://bugzilla.openvz.org/1314
>
> Hmm, strange, my changelogs say it was fixed in vzctl-3.0.24...perhaps you
> were using some earlier version?

I am using the one of debian squeeze:

root@mybox /root/zoobab/openwrt-openvz [5]# vzctl --version
vzctl version 3.0.24

Will check in the debian sources if the patch was applied or not.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OS/app in the OpenVZ container
Next Topic: NFQUEUE in VE
Goto Forum:
  


Current Time: Wed Jul 23 00:09:28 GMT 2025

Total time taken to generate the page: 0.10091 seconds