With /bin/sh -> /bin/zsh /etc/init.d/mysql start does not work. Reproducible: Always Steps to Reproduce: 1. emerge dev-db/mysql-init-scripts-1.2 2. ln -s /bin/zsh /bin/sh 3. /etc/init.d/mysql start Actual Results: # /etc/init.d/mysql start * Caching service dependencies ... /etc/init.d/mysqlmanager:122: parse error near `()' [ ok ] start:5: bad substitution * ERROR: mysql failed to start Expected Results: Running well with zsh.
This also happens when using dash as /bin/sh: # /etc/init.d/mysql status /etc/init.d/mysql: 9: Syntax error: "(" unexpected Seems like you shouldn't use "function name() {..." but just "name() {..." when defining functions.
I have the same problem as in Comment #1, I have dash as sh and I can't start mysql anymore. Please fix it, seen as the fix looks simple.
*** This bug has been marked as a duplicate of bug 175783 ***