Skip to content

Commit 0b498b2

Browse files
committed
doc: document jailer caveat when using --parent-cgroup
Document the issue in #4287 so customers are aware of it. We will continue working on providing a resolution for it. Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 40493de commit 0b498b2

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## [Unreleased]
44

5+
### Added
6+
7+
- [#4287](https://github.com/firecracker-microvm/firecracker/issues/4287)
8+
Document a caveat to the jailer docs when using the `--parent-cgroup` option,
9+
which results in it being ignored by the jailer. Refer to the [jailer
10+
documentation](./docs/jailer.md#caveats) for a workaround.
11+
512
### Changed
613

714
- [#4191](https://github.com/firecracker-microvm/firecracker/pull/4191):

docs/jailer.md

+5
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,8 @@ Note: default value for `<api-sock>` is `/run/firecracker.socket`.
286286
- If all the cgroup controllers are bunched up on a single mount point using
287287
the "all" option, our current program logic will complain it cannot detect
288288
individual controller mount points.
289+
290+
- [#4287](https://github.com/firecracker-microvm/firecracker/issues/4287) When
291+
starting a jailer with `--parent-cgroup` specified but no cgroup flags
292+
specified, then the rules in the parent cgroup folder are ignored. To
293+
workaround, use a dummy cgroup parameter like `--cgroup=memory.max=max`.

0 commit comments

Comments
 (0)