-
- Downloads
Update fcontexts after workhorse configured
- Run the SELinux helper after GitLab Workhorse and other files are
created ensuring their file contexts are restored
- Place GitLab Workhorse socket files into a sockets directory allowing
the SELinux file context to be inherited on service restarts
- Add a GitLab Workhorse helper to ensure that new UNIX sockets for
Workhorse always inherit the proper SELinux file context
Signed-off-by:
Robert Marshall <rmarshall@gitlab.com>
Showing
- files/gitlab-config-template/gitlab.rb.template 1 addition, 1 deletionfiles/gitlab-config-template/gitlab.rb.template
- files/gitlab-cookbooks/gitlab/attributes/default.rb 1 addition, 1 deletionfiles/gitlab-cookbooks/gitlab/attributes/default.rb
- files/gitlab-cookbooks/gitlab/libraries/helpers/gitlab_workhorse.rb 30 additions, 0 deletions...ab-cookbooks/gitlab/libraries/helpers/gitlab_workhorse.rb
- files/gitlab-cookbooks/gitlab/recipes/gitlab-healthcheck.rb 4 additions, 2 deletionsfiles/gitlab-cookbooks/gitlab/recipes/gitlab-healthcheck.rb
- files/gitlab-cookbooks/gitlab/recipes/gitlab-rails.rb 1 addition, 0 deletionsfiles/gitlab-cookbooks/gitlab/recipes/gitlab-rails.rb
- files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb 3 additions, 0 deletionsfiles/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb
- files/gitlab-cookbooks/gitlab/recipes/gitlab-workhorse.rb 12 additions, 0 deletionsfiles/gitlab-cookbooks/gitlab/recipes/gitlab-workhorse.rb
- files/gitlab-cookbooks/gitlab/recipes/selinux.rb 2 additions, 1 deletionfiles/gitlab-cookbooks/gitlab/recipes/selinux.rb
- files/gitlab-cookbooks/gitlab/templates/default/nginx.conf.erb 1 addition, 1 deletion.../gitlab-cookbooks/gitlab/templates/default/nginx.conf.erb
- files/gitlab-cookbooks/gitlab/templates/default/sv-gitlab-workhorse-run.erb 1 addition, 1 deletion...ooks/gitlab/templates/default/sv-gitlab-workhorse-run.erb
- files/gitlab-cookbooks/package/libraries/helpers/selinux_helper.rb 14 additions, 9 deletions...lab-cookbooks/package/libraries/helpers/selinux_helper.rb
- spec/chef/recipes/gitlab-healthcheck_spec.rb 1 addition, 1 deletionspec/chef/recipes/gitlab-healthcheck_spec.rb
- spec/chef/recipes/gitlab-shell_spec.rb 3 additions, 3 deletionsspec/chef/recipes/gitlab-shell_spec.rb
- spec/chef/recipes/selinux_spec.rb 11 additions, 7 deletionsspec/chef/recipes/selinux_spec.rb
Please register or sign in to comment