Skip to content

Commit

Permalink
Merge pull request #199 from nak3/password-change
Browse files Browse the repository at this point in the history
bz1505037: Introduce DEBUG_IGNORE_SCRIPT_FAILURES option to rescue from failure of the setup script
  • Loading branch information
hhorak authored Jan 2, 2018
2 parents 5e58000 + 061fd47 commit a0e6a39
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ else
FLUSH PRIVILEGES;
EOSQL
fi

3 changes: 3 additions & 0 deletions root-common/usr/bin/run-mysqld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
export_vars=$(cgroup-limits); export $export_vars
source ${CONTAINER_SCRIPTS_PATH}/common.sh
set -eu
if [[ -v DEBUG_IGNORE_SCRIPT_FAILURES ]]; then
set +e
fi

export_setting_variables

Expand Down
3 changes: 3 additions & 0 deletions root-common/usr/bin/run-mysqld-master
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
export_vars=$(cgroup-limits); export $export_vars
source ${CONTAINER_SCRIPTS_PATH}/common.sh
set -eu
if [[ -v DEBUG_IGNORE_SCRIPT_FAILURES ]]; then
set +e
fi

export_setting_variables

Expand Down
3 changes: 3 additions & 0 deletions root-common/usr/bin/run-mysqld-slave
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
export_vars=$(cgroup-limits); export $export_vars
source ${CONTAINER_SCRIPTS_PATH}/common.sh
set -eu
if [[ -v DEBUG_IGNORE_SCRIPT_FAILURES ]]; then
set +e
fi

export_setting_variables

Expand Down
3 changes: 3 additions & 0 deletions root-common/usr/share/container-scripts/mysql/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ function log_volume_info {
shift
done
set -e
if [[ -v DEBUG_IGNORE_SCRIPT_FAILURES ]]; then
set +e
fi
}

0 comments on commit a0e6a39

Please sign in to comment.