On Fri, 1 Nov 2024 13:13:07 GMT, Sergey Chernyshev <schernys...@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