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: common: join a subcgroup if we're in the root one
systemd-nspawn doesn't allow the caller process to be in the root cgroup. If that is the case, we create and add ourselves to a new "rkt" subcgroup. Distributions like Void Linux put every process in the root cgroup by default so this allows rkt to work on them.
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 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
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