galera_server /var/log/mysql_logs not readable by rsyslog

Bug #1745442 reported by Damian Cikowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Damian Cikowski

Bug Description

Currently /var/log/mysql_logs directory is being created with setgid (mode 2775) and owned by mysql:root. It causes files inside to be created with root group ID which makes them unaccessible for rsyslog.
Mentioned directory should be created with mysql:adm ownership.

Changed in openstack-ansible:
assignee: nobody → Damian Cikowski (dcdamien)
Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-galera_server (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/538071

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-galera_server (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/545317

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-galera_server (stable/queens)

Reviewed: https://review.openstack.org/545317
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-galera_server/commit/?id=e37352356343e07f0ad2f348ce2001784d8f50de
Submitter: Zuul
Branch: stable/queens

commit e37352356343e07f0ad2f348ce2001784d8f50de
Author: Damian Cikowski <email address hidden>
Date: Thu Jan 25 23:57:15 2018 +0100

    Set correct group membership of /var/log/mysql_logs directory

    This patch sets group membership to `adm`.
    It makes Galera log files accessible for rsyslog daemon.

    Change-Id: Id156037ad053b62036b5359f12eabbf54e7e1369
    Closes-Bug: #1745442
    (cherry picked from commit 96edcae4f5070edc99bd84b9136c4d7633288600)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_server 17.0.0.0rc2

This issue was fixed in the openstack/openstack-ansible-galera_server 17.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-galera_server 18.0.0.0b1

This issue was fixed in the openstack/openstack-ansible-galera_server 18.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible-galera_server (stable/pike)

Change abandoned by Damian Cikowski (dcdamien) (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/538071

Marc Gariépy (mgariepy)
Changed in openstack-ansible:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.