Try some SELinux woodoo for the logs folder
This commit is contained in:
parent
174c5c1b03
commit
2a144e3c5e
1 changed files with 8 additions and 1 deletions
|
@ -42,7 +42,14 @@
|
||||||
environment:
|
environment:
|
||||||
KERNELTEST_CONFIG: /etc/kerneltest/kerneltest.cfg
|
KERNELTEST_CONFIG: /etc/kerneltest/kerneltest.cfg
|
||||||
|
|
||||||
- name: set sebooleans so fedocal can talk to the db
|
- name: set sebooleans so the app can talk to the db
|
||||||
action: seboolean name=httpd_can_network_connect_db
|
action: seboolean name=httpd_can_network_connect_db
|
||||||
state=true
|
state=true
|
||||||
persistent=true
|
persistent=true
|
||||||
|
|
||||||
|
- name: apply selinux type to static files
|
||||||
|
file: >
|
||||||
|
dest=/var/www/logs
|
||||||
|
setype=httpd_sys_content_t
|
||||||
|
state=directory
|
||||||
|
recurse=yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue