[Debian-med-packaging] Bug#625562: Help needed: Bug#625562: figtree: fails to start

Andreas Tille andreas at an3as.eu
Wed May 4 19:45:57 UTC 2011


On Wed, May 04, 2011 at 12:17:55PM -0700, Russ Allbery wrote:
> /usr/bin/figtree is a symlink to an executable JAR file.

Yes, this is what I have seen in other packages and what seemed to me
some suggested way to go.

> I believe in
> order for executable JAR files to be passed to Java properly, the user has
> to be running binfmt_misc (the Linux kernel extension that makes this
> work).  Without that, the kernel will pass the executable to the shell,
> which will then explode with the error messages you show.

Sounds like a perfectly reasonable explanation for the observed effect.

So what is the proper / suggested fix?  I see two options:

  1. Use a shell wrapper instead.
  2. Enforce binfmt_misc somehow (if yes - how?)

I wonder how other packages which are using the same technique are solving
this problem.

Thanks for the hint in any case

     Andreas.

-- 
http://fam-tille.de





More information about the Debian-med-packaging mailing list