Skip to content
Snippets Groups Projects

Add /etc/resolv.conf and /etc/ssl/certs to pages chroot

Merged Alessio Caiazza requested to merge ac/dns-and-ssl into master

This MR adds gitlab.com/gitlab-org/gitlab-pages/internal/jail which implement a wrapper for building a chroot jail with file copy and directory mount binding.

On top of that gitlab-pages chroot deamon will now create a complete jail with /etc/resolv.conf, a copy of SSL_CERT_FILE placed in /etc/ssl/ca-bundle.pem, and a bind mount of pages-root on /pages.

SSL_CERT_FILE can be provided by omnibus, see relevant documentation.

Closes #86 (closed)

Edited by Alessio Caiazza

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading