Skip to content

Ensure permissions on mysql-logfile are correct chokes when log_error is set to stderr #673

Closed
@whysthatso

Description

@whysthatso

- name: Ensure permissions on mysql-logfile are correct

i'm not sure how the setting got into the database as i am running on Percona mysqldb version 8.32.
So this might be a version problem, however, i was able to fix it by adding another condition to the when line:

when: item is defined and item != "" and item != "stderr"

all other hardening changes seem to work fine.

would that be acceptable for a pr? or am i missing something here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions