Fix the read mariadb log permission issue for fluentd
mariadb.log mode is 660, which can not be read by fluentd. Add td-agent user into mysql group to allow fluent to read the log. Closes-Bug: #1664867 Change-Id: If624002909d5fcd0bb82a5bc9937945518ec84b9
This commit is contained in:
parent
2a03b895d5
commit
cc543ab7c4
@ -5,7 +5,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{{ macros.configure_user(name='td-agent') }}
|
{{ macros.configure_user(name='td-agent', groups='mysql') }}
|
||||||
|
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user