Merge pull request #5632 from Icinga/feature/docs-getting-started-selinux

Docs: Mention SELinux in Getting Started chapter
This commit is contained in:
Michael Friedrich 2017-09-29 10:47:20 +02:00 committed by GitHub
commit 0ca9a1a5b3
1 changed files with 27 additions and 2 deletions

View File

@ -343,7 +343,7 @@ Examples:
If you're stuck with configuration errors, you can manually invoke the
[configuration validation](11-cli-commands.md#config-validation).
### FreeBSD
### FreeBSD <a id="running-icinga2-freebsd"></a>
On FreeBSD you need to enable icinga2 in your rc.conf
@ -351,6 +351,31 @@ On FreeBSD you need to enable icinga2 in your rc.conf
# service icinga2 restart
### SELinux <a id="running-icinga2-selinux"></a>
SELinux is a mandatory access control (MAC) system on Linux which adds
a fine-grained permission system for access to all system resources such
as files, devices, networks and inter-process communication.
Icinga 2 provides its own SELinux policy. `icinga2-selinux` is a policy package
for Red Hat Enterprise Linux 7 and derivatives. The package runs the targeted policy
which confines Icinga 2 including enabled features and running commands.
RHEL/CentOS 7:
```
yum install icinga2-selinux
```
Fedora:
```
dnf install icinga2-selinux
```
Read more about SELinux in [this chapter](22-selinux.md#selinux).
## Configuration Syntax Highlighting <a id="configuration-syntax-highlighting"></a>
Icinga 2 ships configuration examples for syntax highlighting using the `vim` and `nano` editors.
@ -379,7 +404,7 @@ SLES/openSUSE:
Alpine Linux:
# apk add icinga2-vim
# apk add icinga2-vim
Ensure that syntax highlighting is enabled e.g. by editing the user's `vimrc`
configuration file: