Change setype for non container /var/log/nova-placement

I870f6f5286ac9222d6d8fbdcb48fe6b6559993ba changes the setype to
var_log_t for the other services. Since nova-placement was
removed in train the backport does not change it.

This is a stein and lower fix to change it also for nova-placment.

/var/log/<service> is not used by containers, therefore setype
svirt_sandbox_file_t is not required. This changes it to the
default var_log_t.

Change-Id: I3d7b43db67434c8a7331c712f04b61cff14b993e
This commit is contained in:
Martin Schuppert 2019-05-02 10:40:49 -06:00
parent 2093cca403
commit 4e36f49183
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ outputs:
with_items:
- { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/httpd/nova-placement, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/nova, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/nova, 'setype': var_log_t }
- name: nova logs readme
copy:
dest: /var/log/nova/readme.txt