Bug #68479 Launcher path is not reliable
Submitted: 24 Feb 2013 14:01 Modified: 13 Jun 2013 1:08
Reporter: Remi Collet Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.47 OS:Linux (Fedora)
Assigned to: CPU Architecture:Any

[24 Feb 2013 14:01] Remi Collet
Description:
On fedora /bin is a simple link to /usr/bin, so, with same visible content.

So according to directories order in the user PATH, could use /bin/mysql-workbench, which fails to detect installation prefix (/ instead of /usr)

Here is a little patch which seems a more reliable way to detect installation prefix, and location of other stuff..

How to repeat:
$ /bin/mysql-workbench
/bin/catchsegv: line 57: //libexec/mysql-workbench-bin: No such file or directory

Suggested fix:
See attached patch
[24 Feb 2013 14:02] Remi Collet
mysql-workbench-5.2.47-launcher.patch

Attachment: mysql-workbench-5.2.47-launcher.patch (text/x-patch), 536 bytes.

[3 Apr 2013 15:35] Alfredo Kojima
Thanks for the bug report. The patch is not reliable either, but we will think of some solution.
[3 Apr 2013 15:37] Armando Lopez Valencia
Thanks for your bug.
[13 Jun 2013 1:08] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.0.2 public beta release, and here's the changelog entry:

On Fedora Linux, the MySQL Workbench binary "PATH" was not properly set on
some systems.

Thank you for the bug report.