Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

healthcheck config on socket/port - omit #635

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

grooverdan
Copy link
Member

The socket/port that where used in the initialization of the datadir in the /var/lib/mysql may not be the same used at runtime.

This was highlighted in #630 where the ubi container puts a socket in a different location from the non-ubi container.

On the assumption that any change of default port/socket is going to be in a server configuration file, preferably with a [client-server] section, lets omit copying this unnecessary.

This does however mean that command line specified changes to socket (and port less so) will not be persistent. This means that podman run mariadb:lts --socket=/tmp/s.sock will not be discoverable for the healtcheck.sh script.

Closes: #630

The socket/port that where used in the initialization of the datadir
in the /var/lib/mysql may not be the same used at runtime.

This was highlighted in MariaDB#630 where the ubi container puts a socket
in a different location from the non-ubi container.

On the assumption that any change of default port/socket is going
to be in a server configuration file, preferably with a [client-server]
section, lets omit copying this unnecessary.

This does however mean that command line specified changes to
socket (and port less so) will not be persistent. This means that
podman run mariadb:lts --socket=/tmp/s.sock will not be discoverable
for the healtcheck.sh script.

Closes: MariaDB#630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant