Closed
Description
If there are readonly elements in the datadir like a .snapshot directory from a storage server the entrypoint fails on the chown of the datadir since the script is running the the -e shell option.
It can be worked around with adding a || true to that line. or a more elegant solution may be desired.
chown -R mysql:mysql "$DATADIR" || true