Hi,
I am not sure if I found the right place where my issue lies.
Right now it seems that it is not possible to use binfmt_misc in unprivileged lxc containers, except for (read-only) mounting. I am able to mount binfmt in a lxc container, but if i write into /proc/sys/fs/binfmt_misc/register I get a permission denied error.
Since Kernel v6.7 binfmt supports namespaces, so it should be safe to use this in containers without affecting the entire machine. Is it possible to enable permissions to use binfmt for newer kernels only?
I'm actually testing this on a Proxmox machine with lxc 6.0.0 installed.
Thank you very much (:
Hi,
I am not sure if I found the right place where my issue lies.
Right now it seems that it is not possible to use binfmt_misc in unprivileged lxc containers, except for (read-only) mounting. I am able to mount binfmt in a lxc container, but if i write into /proc/sys/fs/binfmt_misc/register I get a permission denied error.
Since Kernel v6.7 binfmt supports namespaces, so it should be safe to use this in containers without affecting the entire machine. Is it possible to enable permissions to use binfmt for newer kernels only?
I'm actually testing this on a Proxmox machine with lxc 6.0.0 installed.
Thank you very much (: