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

fix logfolder rights on RedHat 8.6 #184

Closed
wants to merge 1 commit into from

Conversation

Kotty666
Copy link
Contributor

fixes issue #182

@fraenki fraenki self-assigned this Jul 25, 2023
@fraenki fraenki added the bug label Jul 25, 2023
@@ -8,6 +8,7 @@
# they don't exist so the service won't start.
file { '/var/log/mariadb':
ensure => 'directory',
mode => '0755',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test this? Changing the mode from 0700 to 0755 does not grant write access, but only read access. So I'm wondering how this is supposed to fix #182. Maybe you could provide more insights.

Besides that it would be useful to know which version of MariaDB or MySQL (or ...) is being used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fraenki i'd checked it again, with this mode the server is able to start and loggs correctly.
I've checked with

  • MariaDB-Enterprise 10.6.14 / Galera Enterprise 4 - 26.4.14
  • MariaDB-Enterprise 10.4.30 / Galera Enterprise 4 - 26.4.14

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you probably provide the output of the failed Puppet Run and the MariaDB log? And maybe your puppet-galera config so I can try to reproduce this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've resurrected the acceptance tests and they run successfully on Rocky 8 and MariaDB 10.6:
https://github.com/markt-de/puppet-galera/actions/runs/5716432830/job/15488115817

So please provide the additional information (see previous comment) :)

@fraenki fraenki added incomplete and removed bug labels Apr 22, 2024
@fraenki
Copy link
Member

fraenki commented Apr 22, 2024

Unfortunately still not reproducable for me. This may be related to a local security configuration (selinux? something else?). If someone can provide steps to make this reproducable, please let me know. I'll close this issue now.

@fraenki fraenki closed this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants