Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • G gitlab-pages
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 253
    • Issues 253
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • gitlab-pages
  • Merge requests
  • !51

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alessio Caiazza requested to merge ac/dns-and-ssl into master Jan 11, 2018
  • Overview 73
  • Commits 13
  • Pipelines 16
  • Changes 8

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 Jan 12, 2018 by Alessio Caiazza
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ac/dns-and-ssl