Modern OpenVZ kernels allow containers to use binfmt_misc if it is listed in /proc/filesystems. Therefore, procfs should be initialized within an OpenVZ container when it boots. usbcore and /proc/bus/usb should still not be initialized. Same with SELinux. Suggested fix: remove -openvz from procfs, but only run the binfmt_misc initialization if we happen to be in an openvz container. Reproducible: Always
Created attachment 301975 [details] binfmt-openvz.patch Daniel, does this patch fix your issue? Thanks, William
This looks like it will work. Have not personally tested it.
I do not have a way to test since I do not run OPENVZ. Do you want to test before I commit?
This has been added in commit a5509d6. Thanks for the report.