Enable easy SELinux context fixes
- Adds a command to re-apply SELinux file context rules based on the current GitLab provided SELinux policy. - Documents the existence of this new command. - Moves semanage tests into SELinuxHelper rspec and extends coverage for changes made to support the new command. Related https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7257 Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7452 Changelog: added Signed-off-by:Robert Marshall <rmarshall@gitlab.com>
parent
3c1c33892d8a
No related branches found
No related tags found
Showing
- doc/troubleshooting.md 8 additions, 1 deletiondoc/troubleshooting.md
- files/gitlab-cookbooks/package/libraries/helpers/selinux_helper.rb 5 additions, 3 deletions...lab-cookbooks/package/libraries/helpers/selinux_helper.rb
- files/gitlab-ctl-commands/lib/gitlab_ctl/selinux.rb 47 additions, 0 deletionsfiles/gitlab-ctl-commands/lib/gitlab_ctl/selinux.rb
- files/gitlab-ctl-commands/selinux.rb 30 additions, 0 deletionsfiles/gitlab-ctl-commands/selinux.rb
- spec/chef/cookbooks/gitlab/recipes/selinux_spec.rb 0 additions, 49 deletionsspec/chef/cookbooks/gitlab/recipes/selinux_spec.rb
- spec/chef/cookbooks/package/libraries/helpers/selinux_helper_spec.rb 78 additions, 0 deletions...ookbooks/package/libraries/helpers/selinux_helper_spec.rb
Loading
Please register or sign in to comment