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

Adding disable-skip-name-resolve to mysql #206

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

ryanrath
Copy link
Contributor

The changes in this PR arose from a desire to be able to choose between having a fully configured & populated XDMoD database & a fully configured but empty XDMoD database. The method of having a fully configured by empty database, from investigation, seemed to be: remove / rename the database/xdmod.dump file and the included bash scripts would take care of the rest. Upon testing it was found that the scripts that handle the setup of users and databases for XDMoD, when the dump is not present, were relying on MariaDB allowing / using hostname's for database users. This conflicted with a new(-ish) MariaDB configuration skip-name-resolve being enabled, which means that all database user hosts would need to be IP Addresses not hostnames, this was causing said scripts to error out due to authentication errors.

This PR simply disables the skip-name-resolve configuration option so that we can use hostnames as user hosts again.

The scripts that handle user creation in XDMoD rely on hostnames when
specifying a user's host ( as opposed to using IP Addresses ). Without
this setting in place all authentication attempts from the xdmod
container fail.
@aebruno aebruno merged commit 5e8d829 into ubccr:master Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants