Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing selinux policy package for running gunicorn
Running gunicorn out of a virtualenv in a home directory requires some extra selinux policies. Fixes: #49 Change-Id: I027d148d846e7add391b28e805f67cbe312dcde0
- Loading branch information
David Moreau Simard
committed
Jun 4, 2019
1 parent
0457e8e
commit 9df768c
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module ara-gunicorn 1.0; | ||
|
||
require { | ||
type admin_home_t; | ||
type init_t; | ||
class file { execute execute_no_trans ioctl lock open read write }; | ||
} | ||
|
||
#============= init_t ============== | ||
allow init_t admin_home_t:file { execute execute_no_trans ioctl lock open read write }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters