RFR: 8343191: Cgroup v1 subsystem fails to set subsystem path
Severin Gehwolf
sgehwolf at openjdk.org
Thu Nov 7 18:35:01 UTC 2024
On Fri, 1 Nov 2024 13:13:07 GMT, Sergey Chernyshev <schernyshev at openjdk.org> wrote:
> As they're in fact mounting read-write, the logic picked up `rw` mount option and falsely detected "host mode". Also the `--privileged` creates `rw` mounts, so the entire approach needs correction.
Yes. See https://bugs.openjdk.org/browse/JDK-8261242 for details. This patch shouldn't change it and the logic of `OSContainer::is_containerized()` shouldn't change semantically in all scenarios.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21808#issuecomment-2454229684
More information about the serviceability-dev
mailing list