A NOTE has been added to this issue. ====================================================================== https://www.opencsw.org/mantis/view.php?id=4798 ====================================================================== Reported By: AirOnSkin Assigned To: ====================================================================== Project: mysql5 Issue ID: 4798 Category: packaging Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-06-30 11:45 CEST Last Modified: 2011-08-30 00:31 CEST ====================================================================== Summary: mysql_secure_installation returns error with current mysql5 package Description: After installing mysql5 and running mysql_secure_installation the script breaks at the second action (removing anonymous user) because the first action (setting the root password) doesn't work. The new root password doesn't get applied (even if the output says so), hence the script has no rights for the second action.
After typing the new root password twice the following appears (full log attached): Reloading privilege tables.. /opt/csw/mysql5/bin/sparcv9/mysql_secure_installation: !: not found ====================================================================== ---------------------------------------------------------------------- (0009247) maciej (manager) - 2011-08-30 00:31 https://www.opencsw.org/mantis/view.php?id=4798#c9247 ---------------------------------------------------------------------- The suspicion is that there is a hardcoded reference to /bin/sh, which does not support the "if ! foo; then bar; fi" syntax. The mysql sources need to be examined and potentially patched to use e.g. /opt/csw/bin/bash instead. _______________________________________________ bug-notifications mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/bug-notifications
