OpenVZ Forum


Home » General » Support » How to use binfmt_misc in VE
How to use binfmt_misc in VE [message #37710] Tue, 13 October 2009 13:14 Go to previous message
ramjet is currently offline  ramjet
Messages: 16
Registered: September 2009
Junior Member
I would like to register a binary handler for byte compiled python code.

lenny2:/# mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
mount: unknown filesystem type 'binfmt_misc'

lenny2:/# mount
simfs on / type simfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)

On hardware node I'm running Debian GNU/Linux 5.0.3 with kernel 2.6.26-2-openvz-amd64 and vzctl 3.0.23-8

On a proxmox PVE 1.1 with kernel 2.6.24-2-pve with vzctl 3.0.23-1pve1 I get same error.

I have tried loading binfmt_misc and mounting binfmt_misc on HN and restarted VE without luck.

When googling for OpenVZ and binfmt_misc I can see that other people have fs type binfmt_misc mounted inside VE.

Is binfmt_misc handler interface supported inside VE's?
Is it just a capability setting?
Am I running kernels which are missing a patch?

I need a recent kernel on HN because of RAID driver
 
Read Message
Read Message
Read Message
Previous Topic: Single IP number - multiple OpenVZ guests?
Next Topic: strange problem in vzdump
Goto Forum:
  


Current Time: Tue Sep 17 02:24:55 GMT 2024

Total time taken to generate the page: 0.07405 seconds