Fix log offload file permissions in CentOS devstack

CentOS sets a restrictive umask by default that will override the
rsyslog file permissions settings. This can cause our tempest tests
to no be able to read the log offload files in our CentOS gate jobs.
This patch clears this umask override in the devstack rsyslog
configuration.

Note: This is a global setting for rsyslog and you probably do not
      want to set this outside of a testing environment.

Change-Id: I5962e335acff79152fa49c27c883aef2879593db
This commit is contained in:
Michael Johnson 2019-10-10 08:35:13 -07:00
parent e6cd43d6cc
commit d56b9d65c1
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
# Work around CentOS/RHEL umask override of file permissions
# Note: This is a global rsyslog setting, you probably do not want to set
# this outside of testing!
$umask 0000
# provides UDP syslog reception
module(load="imudp")
input(type="imudp" port=["%ADMIN_PORT%", "%TENANT_PORT%"])