On Thu, 3 Nov 2016 13:15:47 +0300 Michael Tokarev <m...@tls.msk.ru> wrote:
> 03.11.2016 12:46, Toby Speight wrote:
> > I was able to work around this issue by hand-editing the postinst it to add
> > '|mips*' to the end of $omit (luckily, I don't need MIPS emulation on my
> > systems).
> > 
> > The one thing that stands out about the MIPS registration is that the magic
> > and mask are much longer than for other systems - is it possible that the
> > kernel can't handle such long patterns?  If so, can this be detected and
> > avoided?
> 
> This change was introduced very recently, see #829243.  But it works fine
> on my system.  I wonder if 3.16 kernel is unable to process that binfmt
> while 4.1+ can handle it...  Oh well.

Looks like this kernel commit added support for longer formats:
bbaecc088245e840e59a5abe23d69cf7748b3c88

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/binfmt_misc.c?id=bbaecc088245e840e59a5abe23d69cf7748b3c88

This is probably what causes this. The above commit exists only in 3.18+

James

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to