HomeClusterLabs Projects

Redis: restore rundir security context

Description

Redis: restore rundir security context

When selinux rules packages are installed, rundir does not yet exist,
and security context for it cannot be applied. Calling restorecon after
dir creation ensures that the proper context is applied to the rundir.
If the context is not applied, selinux denies write permission, the unix
socket cannot be created, and redis does not start

Details

Provenance
Gabriele Cerami <gcerami@redhat.com>Authored on Nov 1 2016, 7:44 PM
Parents
rRde4be9774f23: Merge pull request #853 from oalbrigt/lvm.sh-fix-status-clustered
Branches
Unknown
Tags
Unknown

Event Timeline