Comment 3 for bug 335676

Revision history for this message
anilg (anil-verve) wrote :

Ok.. this is simply because the post-install scripts tries to stop any running mysql instances.. The relevant code is

-----snip----
# This is necessary because mysql_install_db removes the pid file in /var/run
# and because changed configuration options should take effect immediately.
# In case the server wasn't running at all it should be ok if the stop
# script fails. I can't tell at this point because of the cleaned /var/run.
set +e; invoke stop; set -e
-----------

invoke calls -> "/usr/sbin/invoke-rc.d stop", which turns stop into "disable -st" for svcadm. SMF hasn't been imported yet. Removing the above messages would mean, modifying invoke-rc.d, which is a part of sysv-rc package