RFR: 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases
Alan Bateman
alanb at openjdk.org
Fri Aug 30 10:51:25 UTC 2024
On Thu, 29 Aug 2024 16:32:19 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
> According to our customer, it is problematic. This is a reason for proposing a fix in OpenJDK.
@bplb and I discussed this yesterday and agreed that the proposal here isn't the right thing for main line. There will be other opinions but I think your options are:
- Use a newer release of docker and/or the seccomp configuration where this is fixed. You mentioned that it was fixed in v19 which appears to have been released in 2019.
- Request to jdk update maintainers to backout JDK-8338696 from 17u and 21u.
- Propose the change to 17u and 21u to allow it work in seccomp config that blocks this sys call.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20484#issuecomment-2320826202
More information about the nio-dev
mailing list