Skip to content

Commit dc4efad

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. (cherry picked from commit 0b498b2) Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 9e64f7b commit dc4efad

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
containing vhost-user block devices.
3636
See the [related doc page](./docs/api_requests/block-vhost-user.md) for details.
3737
The device emits metrics under the label `"vhost_user_{device}_{drive_id}"`.
38+
- Document [a caveat to the jailer][1] when using the `--parent-cgroup` option,
39+
which results in it being ignored by the jailer. Refer to the [jailer
40+
documentation](./docs/jailer.md#caveats) for a workaround.
41+
42+
[1]: https://github.com/firecracker-microvm/firecracker/issues/4287
3843

3944
### Changed
4045

docs/jailer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,3 +282,8 @@ Note: default value for `<api-sock>` is `/run/firecracker.socket`.
282282
- If all the cgroup controllers are bunched up on a single mount point using
283283
the "all" option, our current program logic will complain it cannot detect
284284
individual controller mount points.
285+
286+
- [#4287](https://github.com/firecracker-microvm/firecracker/issues/4287) When
287+
starting a jailer with `--parent-cgroup` specified but no cgroup flags
288+
specified, then the rules in the parent cgroup folder are ignored. To
289+
work around, use a dummy cgroup parameter like `--cgroup=memory.max=max`.

0 commit comments

Comments
 (0)