[Debian-med-packaging] Bug#940611: fails to start because no wrapper missing

Daniel Baumann daniel.baumann at progress-linux.org
Tue Sep 17 20:04:15 BST 2019


Package: beagle
Version: 5.0-180928+dfsg-1
Severity: serious

Hi,

beagle is written in java and shipped as /usr/share/beagle/beagle.jar
with 0644 permissions.

/usr/bin/beagle is a symlink to above jar. Starting it fails, as the jar
is not executable.

However, even if it would be executable, it woudln't work as jars are
not binaries to be executed directly in the first place. Something like
this should be used as /usr/bin/beagle instead of the symlink:

---snip---
#!/bin/sh

set -e

java -jar /usr/share/beagle/beagle.jar ${@}
---snap---

Regards,
Daniel



More information about the Debian-med-packaging mailing list