MySQL Forums
Forum List  »  Router & Proxy

mysql-proxy package for RHEL7 is broken (0.8.5-2.el7)
Posted by: Otheus Shelling
Date: November 18, 2015 03:47AM

As far as I can tell, the RPM package for RHEL7 / systemd is broken. It will not start. Can someone point me in the direction of the spec file and/or package maintainers? I promise not to shoot them.

There are at least two big problems. First: the init.d script has an incompatible syntax with the systemd scripting:
[ ${NETWORKING} = "no" ] && exit 0
needs to be changed in case the NETWORKING variable is undefined. Easy fix: use [[ ]] or double-quote NETWORKING.

Second, the changes in the script from 0.85-1.el6 to 0.85-2.el7 are silly and pointless, are they not? The 1.el6 release relies completely on the /etc/mysql-proxy.cnf file while the 0.85-2.el7 relies entirely on the sysconfig/mysql-proxy file, which would be fine if it weren't for the fact that the provided default options *do not work*.

Options: ReplyQuote


Subject
Views
Written By
Posted
mysql-proxy package for RHEL7 is broken (0.8.5-2.el7)
3681
November 18, 2015 03:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.