Bug #57537 | get_local_ip_list() implementation in mysql-workbench-5.2.29 is broken | ||
---|---|---|---|
Submitted: | 18 Oct 2010 19:31 | Modified: | 24 Nov 2010 15:43 |
Reporter: | Hans de Graaff | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 5.2.29 | OS: | Linux (Gentoo, probably others) |
Assigned to: | Maksym Yehorov | CPU Architecture: | Any |
[18 Oct 2010 19:31]
Hans de Graaff
[19 Oct 2010 9:52]
Maksym Yehorov
Added exception handling.
[29 Oct 2010 17:34]
Eduardo Coasaca
I had the same problem with: MySQLWorkbench 5.2.29 compiled from tar.gz src and running on my Slackware 13.1. Problem: get_local_ip_list() function uses a Python "subprocess.Popen" to call internally the "linux ifconfig command" so it retrieves the stdout result and parses it to get the IP lists of the current machine. However, on Slackware (and probably some other low user-level permission for the /sbin/ifconfig commmand) users cannot access the ifconfig command, so it causes the admin plugin not to be loaded. My Solution: (SLACKWARE 13.1) - cd /usr/bin; ln -s /sbin/ifconfig I didnt give access to /sbin, just create a symbolink link to /sbin/ifconfig into /usr/bin for all users other solution could be to add /sbin to the PATH good luck
[23 Nov 2010 17:14]
Johannes Taxacher
fixed in current release (5.2.30)
[24 Nov 2010 15:43]
Tony Bedford
An entry has been added to the 5.2.30 changelog: The implementation of get_local_ip_list() had several problems: It did not have a graceful fallback state in the event of errors. Failed due to ifconfig not being on the default user path. It did not handle IPv6 addresses.