Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ps 5250.selinux 5.7 #2973

Merged
merged 3 commits into from
Jan 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions doc/source/installation/yum_repo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,24 @@ Installing |Percona Server| from Percona ``yum`` repository

.. code-block:: bash

yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm

$ yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm

You should see some output such as the following:

.. admonition:: Output example

.. code-block:: guess

Retrieving https://repo.percona.com/yum/percona-release-latest.noarch.rpm
Preparing... ########################################### [100%]
1:percona-release ########################################### [100%]

To install |Percona Server| with SELinux policies, you also need the :program:`Percona-Server-selinux-*.noarch.rpm` package:

.. code-block:: bash

Retrieving https://repo.percona.com/yum/percona-release-latest.noarch.rpm
Preparing... ########################################### [100%]
1:percona-release ########################################### [100%]
$ yum install http://repo.percona.com/centos/7/RPMS/x86_64/Percona-Server-selinux-56-5.6.42-rel84.2.el7.noarch.rpm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.7 example?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK there is no SElinux support for 5.7. So the 5.7 docs shouldn't be updated (yet).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for 5.7 there is no separate package. policies are included into server package, so we just follow upstream way to provide them

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This instruction for installing selinux package will be removed: it is not needed for 5.7. selinux is supported in the percona-server-server-5.7 package



2. Testing the repository

Expand Down Expand Up @@ -147,13 +156,13 @@ This will install only packages required to run the |Percona Server| 5.7. Option

To install all the packages (for debugging, testing, etc.) you should run:

.. code-block:: bash
.. code-block:: bash

$ rpm -ivh *.rpm
$ rpm -ivh *.rpm

.. note::

When installing packages manually like this, you'll need to make sure to resolve all the dependencies and install missing packages yourself.
When installing packages manually like this, you'll need to make sure to resolve all the dependencies and install missing packages yourself.

Running |Percona Server|
========================
Expand Down