URL:
https://github.com/freeipa/freeipa/pull/2198
Author: t-woerner
Title: #2198: Restore SELinux context of session_dir /etc/httpd/alias and template_dir
/var/log/dirsrv/slapd-X
Action: opened
PR body:
"""
## Restore SELinux context of session_dir /etc/httpd/alias and template_dir
/var/log/dirsrv/slapd-X:
### httpinstance: Restore SELinux context of session_dir /etc/httpd/alias
The session directory /etc/httpd/alias/ could be created with the wrong SELinux context.
Therefore httpd was not able to write to this directory.
Fixes:
https://pagure.io/freeipa/issue/7662
Related-to: 49b4a057f1b0459331bcec2c8d760627d00e4571 (Create missing /etc/httpd/alias for
ipasession.key)
### ipa_restore: Restore SELinux context of template_dir /var/log/dirsrv/slapd-X
The template directory /var/log/dirsrv/slapd-X could be created with the wrong SELinux
context.
Related to:
https://pagure.io/freeipa/issue/7662
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2198/head:pr2198
git checkout pr2198