The log directory for neutron has the default_t SELinux context and this
prevents rsyslog from accessing neutron's logs. This patch ensures that
the file contexts are set properly for neutron's logs.
This change also makes neutron's log directory configurable using the
`neutron_log_dir` variable.
Reviewed: https:/ /review. openstack. org/545884 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_neutron/ commit/ ?id=517b78d4dd9 9b6318388e929a8 95378327d75989
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 517b78d4dd99b63 18388e929a89537 8327d75989
Author: Major Hayden <email address hidden>
Date: Tue Feb 13 15:57:04 2018 -0600
Add SELinux contexts for neutron log directory
This is a backport of: /review. openstack. org/543588 /review. openstack. org/545503
- https:/
- https:/
The log directory for neutron has the default_t SELinux context and this
prevents rsyslog from accessing neutron's logs. This patch ensures that
the file contexts are set properly for neutron's logs.
This change also makes neutron's log directory configurable using the log_dir` variable.
`neutron_
Closes-Bug: 1748968 63cc9c1b85c000c c040fab27ab
Change-Id: Ifbcca131435c89