Skip to content

Invalid SELinux model and provided information in case of disabled selinux #20

Closed
@pirat89

Description

@pirat89

The SELinux model does not reflect correctly what information we can get about SElinux with various setup. E.g. in case SElinux is disabled, we cannot get information about runtime mode (just None). Policy cannot contain whatever string. It can contain only these values:

  • targeted - Targeted processes are protected,
  • minimum - Modification of targeted policy. Only selected processes are protected.
  • mls - Multi Level Security protection.

Regarding the /etc/selinux/config file. The model will be changed partially by the PR I will add here later just to fix broken tests. Proper fix will be still need.

  • resolve issue
  • write tests

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions