OpenVZ Forum


Home » Mailing lists » Users » binfmt-support ?
binfmt-support ? [message #5815] Thu, 31 August 2006 11:51 Go to next message
Andreas Mimz is currently offline  Andreas Mimz
Messages: 7
Registered: August 2006
Junior Member
Hi there!

I wanted to ask if a VPS does support binfmt if the host-kernel is
compiled with the binfmt-module??

Thanks!
Re: binfmt-support ? [message #5816 is a reply to message #5815] Thu, 31 August 2006 12:51 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

which one of binfmt's? :)
there are binfmt_elf, binfmt_aout, and _misc...

Andreas Mimz wrote:
> Hi there!
>
> I wanted to ask if a VPS does support binfmt if the host-kernel is
> compiled with the binfmt-module??
>
> Thanks!
>
Re: binfmt-support ? [message #5817 is a reply to message #5816] Thu, 31 August 2006 12:59 Go to previous messageGo to next message
Andreas Mimz is currently offline  Andreas Mimz
Messages: 7
Registered: August 2006
Junior Member
oh sorry I forgot... binfmt_misc


On Thu, August 31, 2006 14:53, Kirill Korotaev wrote:
> which one of binfmt's? :) there are binfmt_elf, binfmt_aout, and _misc...
>
> Andreas Mimz wrote:
>
>> Hi there!
>>
>>
>> I wanted to ask if a VPS does support binfmt if the host-kernel is
>> compiled with the binfmt-module??
>>
>> Thanks!
>>
>>
Re: binfmt-support ? [message #5819 is a reply to message #5817] Thu, 31 August 2006 14:06 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

AFAIR it can be used, but it is not virtualized,
so it is insecure :/

Kirill


Andreas Mimz wrote:
> oh sorry I forgot... binfmt_misc
>
>
> On Thu, August 31, 2006 14:53, Kirill Korotaev wrote:
>
>>which one of binfmt's? :) there are binfmt_elf, binfmt_aout, and _misc...
>>
>>Andreas Mimz wrote:
>>
>>
>>>Hi there!
>>>
>>>
>>>I wanted to ask if a VPS does support binfmt if the host-kernel is
>>>compiled with the binfmt-module??
>>>
>>>Thanks!
>>>
>>>
Re: binfmt-support ? [message #5822 is a reply to message #5819] Thu, 31 August 2006 16:49 Go to previous messageGo to next message
Andreas Mimz is currently offline  Andreas Mimz
Messages: 7
Registered: August 2006
Junior Member
Hmm I don't think it can be used out of the box... I've loaded the
binfmt_misc module and enabled some wrappers for php for example on the
host-system. However within the vps system I'm unable to set the
"update-binfmts --enable"... this always tries to load the module which
ofcourse isn't available. lsmod in the vps doesn't show any module
(maybe that's the problem??).



Kirill Korotaev schrieb:

> AFAIR it can be used, but it is not virtualized,
> so it is insecure :/
>
> Kirill
>
>
> Andreas Mimz wrote:
>> oh sorry I forgot... binfmt_misc
>>
>>
>> On Thu, August 31, 2006 14:53, Kirill Korotaev wrote:
>>
>>> which one of binfmt's? :) there are binfmt_elf, binfmt_aout, and
>>> _misc...
>>>
>>> Andreas Mimz wrote:
>>>
>>>
>>>> Hi there!
>>>>
>>>>
>>>> I wanted to ask if a VPS does support binfmt if the host-kernel is
>>>> compiled with the binfmt-module??
>>>>
>>>> Thanks!
>>>>
>>>>
Re: binfmt-support ? [message #5848 is a reply to message #5822] Fri, 01 September 2006 13:07 Go to previous message
rkagan is currently offline  rkagan
Messages: 11
Registered: May 2006
Location: Moscow
Junior Member
On Thu, Aug 31, 2006 at 06:49:48PM +0200, Andreas Mimz wrote:
> Hmm I don't think it can be used out of the box... I've loaded the
> binfmt_misc module and enabled some wrappers for php for example on the
> host-system. However within the vps system I'm unable to set the
> "update-binfmts --enable"...

Quite natural since binfmt_misc is not virtualized as Kirill already
said, meaning that filetype -> interpreter mappings

- are global (work in all VEs where the corresponding interpreter is
found under the specified path)
- can only be manipulated in the host system.

Roman.
Previous Topic: Clarification on openvz yum repo and most up-to-date kernel
Next Topic: Problem using arptables on hw-node
Goto Forum:
  


Current Time: Sat Jul 27 01:06:40 GMT 2024

Total time taken to generate the page: 0.03194 seconds