A possible fix for JDK-8165852: Mount point not found for a file which is present in overlayfs
Andrew Hughes
gnu.andrew at redhat.com
Wed Sep 6 17:57:50 UTC 2017
On 6 September 2017 at 10:15, Fridrich Strba <fridrich.strba at suse.com> wrote:
> Hello, good people,
>
> I think I fixed the overlayfs and btrfs problems in LinuxFileStore. The
> attached patch is what makes it work for us. Basically, when we come to
> the device-id boundary, we check whether it corresponds to a mount point
> in the files and if so, we return. If not, we go down the file system
> looking for another boundary. If we come to the root of the file-system
> without finding other mount-point and if the / is in the files, we
> return the entry that corresponds to it. If not, we throw the exception.
>
> I would love to have someone to look at it and consider whether it could
> be included in the icedtea8 tree. I don't think this will be easy to
> upstream to jdk8u (even provided my fix is right).
>
> Thanks in advance
>
> Fridrich
I can look over it, but I really think it should be proposed upstream so
that those who wrote the original code can take a look.
I would also suggest filing an IcedTea bug so we can track this. Issues
only discussed in mailing list posts tend to get forgotten.
Thanks,
--
Andrew :)
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Web Site: http://fuseyism.com
Twitter: https://twitter.com/gnu_andrew_java
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the distro-pkg-dev
mailing list