Re: Mono C# In chroot
running Mono executables directly, as "./program.exe" (rather than as "mono program.exe") requires that /proc be mounted, and that the binfmt_misc kernel module be loaded, and that binfmt_misc be mounted to /proc/sys/fs/binfmt_misc, and that ':CLR:M::MZ::/usr/bin/mono:' be echoed into /proc/sys/fs/binfmt_misc/register
Originally Posted by Paris.K
It's automated by the binfmt-support package
And I'd certainly not consider doing it inside a chroot. The Mono app deployment guidelines strongly caution against using "./foo.exe" rather than "mono foo.exe" precisely because it causes this kind of problem.
Understanding is a three-edged sword: Your side, their side, and the truth