Skip to content
Snippets Groups Projects
Commit a89b466e authored by Robert Marshall's avatar Robert Marshall
Browse files

Apply SELinux context correctly to Workhorse files

- Run SELinux helper after helper files associated with GitLab Workhorse
  are created and able to receive file context restoration commands
- Move GitLab Workhorse UNIX sockets into a directory allowing them to
  inherit the correct SELinux file context after a service restart
- Adds GitLab Workhorse Helper class to ensure new UNIX sockets always
  inherit the proper SELinux file context
- Add rspect tests for new GitLab Workhorse helper
- Add clause to remove orphan GitLab Workhorse sockets if they exist
- Add rspec test to ensure orphan socket cleanup happens when necessary

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5694



Signed-off-by: default avatarRobert Marshall <rmarshall@gitlab.com>
parent 9819e685
No related branches found
No related tags found
No related merge requests found
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment