Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-50119

copy-jdk-configs (cjc) crawls only through absolute symlinks [rhel-9.5]

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.5
    • rhel-8.10, rhel-9.5, rhel-10.0.beta
    • copy-jdk-configs
    • None
    • None
    • None
    • ZStream
    • rhel-sst-java
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • None
    • None
    • Unspecified
    • None

      Ported from Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=2109050

      "recently jdk latest and 17 received patch, which changed symlinks from absolute to relative - see https://bugzilla.redhat.com/show_bug.cgi?id=2109048

      CJC is crawling through absolute symlinks intentionally. This approach have to be revisited if it is really needed."

      We believe this is the correct change in the JDK and intend to bring it back in RHEL. copy-jdk-configs needs to be adapted or we at least need to know why relative symlinks are disallowed.

      Relative symlinks are already in use for the debuginfo files and are required so that the exploded RPM tree can be used prior to installation in /. Testing the image as installed only becomes more important with adaptations being made to the portable build in the %install stage for the final RPM.

              jvanek@redhat.com Jiri Vanek
              rhn-engineering-ahughes Andrew Hughes
              Jiri Vanek Jiri Vanek
              David Kutalek David Kutalek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: