Yesterday the user Status/#gentoo-bsd reported a problem with mysql init script. The mysql's init script use the following local variable to shutdown: local shutdown_list="$(tac "${MYSQL_GLOB_PID_FILE}")" which is a problem because tac is a coreutils thingy. I propose to change this to something like: local shutdown_list="$(cat "${MYSQL_GLOB_PID_FILE}" | sort -r)"
Same seems to go to /etc/init.d/mysqlmanager.
"${MYSQL_GLOB_PID_FILE}")" is _not_ alphabetically sorted, it's sorted by startup. It's not so bad to have a shutdown order that is the _same_ of the startup one, if "tac" is a problem better fall back to the use of "cat" or it's bash equivalent VAR=$(< filename) .
The fix is in CVS waiting revbump to close as fixed
hem, forgot this one, closing, thanks again