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

akhilesh-delphix duke at openjdk.org
Sat Jan 4 16:45:51 UTC 2025


On Tue, 3 Dec 2024 00:35:54 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

>>> 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>`

hi @alexeybakhtin do we have any plans to address this issue ( `Function not implemented`) with JDK17?

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2883#issuecomment-2571351931


More information about the jdk-updates-dev mailing list