This repository has been archived by the owner on Feb 24, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stage1/prepare-app: don't mount /sys/fs/cgroup in stage2
The previous two patches make rkt not do a recursive bind-mount on /sys unless we use user namespaces (the kernel doesn't allow that). However, SELinux doesn't allow mounting `/sys/fs/cgroup` manually in that case. Since the spec doesn't say apps should have a view of /sys/fs/cgroup, let's not mount it in stage2.
- Loading branch information
Showing
1 changed file
with
5 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters