-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Describe the bug
Running the baseline on CentOS 7 and CentOS 8 fails with this error:
× mysql-conf-06: ensure log file is owned by mysql user (2 failed),
× File /var/log//mysqld.log is expected to be owned by \"mysql\",
expected `File /var/log//mysqld.log.owned_by?(\"mysql\")` to return true, got false,
× File /var/log//mysqld.log is expected to be grouped into \"mysql\",
The reason is that Mariadb is installed by default and has different logfile-paths and names.
Expected behavior
The test should look for mariadb:
[root@instance /]# ls -lsah /var/log/mariadb/mariadb.log
4.0K -rw-r----- 1 mysql mysql 1.9K Aug 5 10:06 /var/log/mariadb/mariadb.log
OS / Environment
CentOS7 and 8
Baseline Version
master
Metadata
Metadata
Assignees
Labels
No labels