[jdk17u-dev] RFR: 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases
Alexey Bakhtin
abakhtin at openjdk.org
Tue Dec 3 00:38:43 UTC 2024
On Thu, 14 Nov 2024 18:53:15 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
>>> java.nio.file.FileSystemException: app.jar: Function not implemented
>>
>> This looks like a different issue.
>
>> java.nio.file.FileSystemException: app.jar: Function not implemented
>
> @akhilesh-delphix, It looks like a similar issue, but the state syscall returns `ENOSYS` error code instead of `EPERM`. So, this PR does not fix your issue.
> Could you please describe your environment? Maybe we will need a follow-up to handle `ENOSYS` as well.
> hi @alexeybakhtin,
>
> Pls let me know if you need further details on this.
>
> Additionally , is it possible for you confirm that the issue faced by me (`java.nio.file.FileSystemException: app.jar: Function not implemented`) is a JDK issue (possibly regression of https://bugs.openjdk.org/browse/JDK-8316304). It will help us communicate with our stakeholders
Yes, As soon as I can see, it is a regression of JDK-8316304.
There is a possible workaround for docker containers: add statx to the seccomp filter and run the docker container with update seccomp filter `--security-opt seccomp=<path to seccomp.json>`
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2883#issuecomment-2513276731
More information about the jdk-updates-dev
mailing list