Skip to content
Snippets Groups Projects

Resolve "Investigate including policycoreutils as a runtime dependency in order to be able to use semanage"

All threads resolved!

Closes #1485 (closed).

This change replaces chcon with semanage in the gitlab-shell recipe, which makes the fcontext change permanent and brings the setup more in line with current SELinux best practices. As a result, the security context shouldn't get messed up anymore.

The documentation and test descriptions have been updated to reflect the change.

This change requires policycoreutils-python as a runtime dependency. The sort of counterintuitively-named restorecon -R -v is necessary to apply the new ssh_home_t context.

The dependencies required are in the base repos for all supported RHEL flavors.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • f6976d4f - applying selinux changes specifically to authorized_keys as well.

    Compare with previous version

  • username-removed-1506167 resolved all discussions

    resolved all discussions

  • DJ Mountney approved this merge request

    approved this merge request

  • DJ Mountney changed milestone to %10.0

    changed milestone to %10.0

  • DJ Mountney mentioned in commit 45abda5f

    mentioned in commit 45abda5f

  • merged

  • Contributor

    Thanks for the contribution @baroncharlus . I've finished reviewing it today, and have merged it for our upcoming 10.0 release of GitLab.

  • DJ Mountney mentioned in issue #1106

    mentioned in issue #1106

  • Awesome!:tada: Thanks @twk3!

  • Picked into 10-0-stable and 10-0-stable-ee, will go into 10.0 RC4.

  • DJ Mountney mentioned in commit 0f8825e9

    mentioned in commit 0f8825e9

  • DJ Mountney mentioned in commit aafc910e

    mentioned in commit aafc910e

  • It doesn't look like policycoreutils-python is installed on RHEL6 by default and should be added to installation instructions at https://about.gitlab.com/installation/

  • Please register or sign in to reply
    Loading