From 65b1f90a94c43ce5e9581ecb0e74c7edb27271ee Mon Sep 17 00:00:00 2001 From: Mikael Loaec Date: Wed, 27 Feb 2019 13:31:30 +0100 Subject: [PATCH] Adding Note on SELinux for CentOS 7 As there is no maintener for the moment for selinux in the OSA project its support was dropped. This note tells the user to disable SELinux before the first reboot. Change-Id: I4ab3a08172156871e19a61ff152b2f8339bfe2d3 --- deploy-guide/source/targethosts-prepare.rst | 8 ++++++++ doc/source/user/aio/quickstart.rst | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/deploy-guide/source/targethosts-prepare.rst b/deploy-guide/source/targethosts-prepare.rst index fd757b525c..ef3d2eac4d 100644 --- a/deploy-guide/source/targethosts-prepare.rst +++ b/deploy-guide/source/targethosts-prepare.rst @@ -89,6 +89,14 @@ Configure CentOS # yum upgrade +#. Disable SELinux. Edit ``/etc/sysconfig/selinux``, make sure that + ``SELINUX=enforcing`` is changed to ``SELINUX=disabled``. + + .. note:: + + SELinux enabled is not currently supported in OpenStack-Ansible + for CentOS/RHEL due to a lack of maintainers for the feature. + #. Reboot the host. #. Ensure that the kernel version is ``3.10`` or later: diff --git a/doc/source/user/aio/quickstart.rst b/doc/source/user/aio/quickstart.rst index ff2af44b01..1dd4ffedb3 100644 --- a/doc/source/user/aio/quickstart.rst +++ b/doc/source/user/aio/quickstart.rst @@ -74,6 +74,13 @@ system packages are upgraded and then reboot into the new kernel: # yum install git # reboot +.. note:: + + Before rebooting, in ``/etc/sysconfig/selinux``, make sure that + ``SELINUX=enforcing``is changed to ``SELINUX=disabled``. + SELinux enabled is not currently supported in OpenStack-Ansible + for CentOS/RHEL due to a lack of maintainers for the feature. + .. code-block:: shell-session ## openSUSE