Actions
Feature #14563
openAdd option to selinux set the mode from config file
Status:
New
Priority:
High
Assignee:
-
Category:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Description
Currenlty the selinux mode is set to permissive mode, Add the option to read it from configfile
Updated by Anonymous almost 8 years ago
Looking at selinux.py, it appears that the mode can be set in init in the SELInux class:
self.mode = self.config.get('mode', 'permissive')
Based on this, I would guess that the following in a yaml file may work:
selinux:
mode: enforcing
Actions