[jdk21u-dev] RFR: 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases [v3]

Severin Gehwolf sgehwolf at openjdk.org
Fri Sep 6 10:22:01 UTC 2024


On Fri, 6 Sep 2024 06:48:29 GMT, Martin Balao <mbalao at openjdk.org> wrote:

> I personally think that the problem has to be fixed on Docker's side, but I understand that this was a problematic change of behavior in stable releases.

As mentioned in the bug it affects a rather old Docker release. Releases prior v18.4 (2019). It's been fixed in newer versions. So the question is how widespread is this? It must be systems where statx is available in the first place (kernel > 4.11 and glibc >= 2.28; systems not meeting the criteria won't use `statx`), but with the old docker version. There is a work-around to run the containers with the `--security-opt seccomp=<fixed_seccomp_profile.json>`.

> @jerboaa 8316304 is documented as an enhancement. Will something be broken if we back it off from 21u and 17u?

JDK-8316304 adds birth time support on Linux. So that functionality will no longer be there if we back it out. Some users already rely on the feature, unfortunately. Either way we go somebody will be disappointed.

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/951#issuecomment-2333741765


More information about the jdk-updates-dev mailing list