From cf917e967700a0876bedf202daa53365cf09c332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kadl=C4=8D=C3=ADk?= Date: Tue, 7 Mar 2017 14:31:28 +0100 Subject: [PATCH] Allow writing into DB file in SELinux --- roles/copr/mbs/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/copr/mbs/tasks/main.yml b/roles/copr/mbs/tasks/main.yml index 38412ad84c..eeb3eb7e31 100644 --- a/roles/copr/mbs/tasks/main.yml +++ b/roles/copr/mbs/tasks/main.yml @@ -124,6 +124,11 @@ - name: Add copr-fe to mbs group user: name=copr-fe groups=mbs append=yes +- name: Allow writing into DB file in SELinux + file: path="{{item}}" setype=httpd_sys_rw_content_t + with_items: + - /etc/module-build-service + - /etc/module-build-service/module_build_service.db # Run module-build-service processes - name: Enable fedmsg-relay