Project

General

Profile

Actions

Feature #14563

open

Add option to selinux set the mode from config file

Added by Vasu Kulkarni about 8 years ago. Updated almost 8 years ago.

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

Actions #1

Updated by Anonymous almost 8 years ago

  • Assignee set to Anonymous
Actions #2

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

Also available in: Atom PDF