Skip to content

Disables JVM DNS caching if link-local DNS is available does not work #674

@Drimkast

Description

@Drimkast

When link-local DNS cache is present i have warning at start of docker container:
WARNING: Unable to disable JVM DNS caching disabled in favor of link-local DNS caching because /layers/paketo-buildpacks_bellsoft-liberica/java-security-properties/java-security.properties is read-only

It seems problem in contribute java-security-properties layer at build time here
and trying to access it at runtime here

Steps to Reproduce

  1. Run any docker image built with bellsoft-liberica buildpack and enabled link-local DNS cache. Reproduces on local docker env with mounted /etc/resolv.conf containing nameserver 169.254.25.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions