RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1698873 - warning: file /usr/lib/jvm/java-11-openjdk-11.0.ea.28-7.el7.x86_64/lib/client: remove failed: No such file or directory
Summary: warning: file /usr/lib/jvm/java-11-openjdk-11.0.ea.28-7.el7.x86_64/lib/client...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: java-11-openjdk
Version: 7.9
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: jiri vanek
QA Contact: OpenJDK QA
URL:
Whiteboard:
Depends On:
Blocks: 1744146 1746366
TreeView+ depends on / blocked
 
Reported: 2019-04-11 12:20 UTC by Jan Stodola
Modified: 2023-09-15 00:16 UTC (History)
6 users (show)

Fixed In Version: java-11-openjdk-11.0.12.0.7-2.el7_9
Doc Type: Bug Fix
Doc Text:
Previously, uninstalling the OpenJDK RPMs attempted to remove a client directory that did not exist. This directory is no longer used in java-11-openjdk and all references to it have now been removed.
Clone Of:
Environment:
Last Closed: 2021-10-20 15:23:12 UTC
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:3892 0 None None None 2021-10-20 15:23:38 UTC

Description Jan Stodola 2019-04-11 12:20:29 UTC
Description of problem:
The following warning is printed during update of java-11-openjdk-headless (when running cleanup of previous version):

  Cleanup    : 1:java-11-openjdk-headless-11.0.ea.28-7.el7.x86_64
warning: file /usr/lib/jvm/java-11-openjdk-11.0.ea.28-7.el7.x86_64/lib/client: remove failed: No such file or directory



[root@localhost ~]# yum update java-11-openjdk-headless
...

====================================================================================================================
 Package                              Arch               Version                         Repository            Size
====================================================================================================================
Updating:
 java-11-openjdk-headless             x86_64             1:11.0.2.7-1.el7                rhel-7.7              38 M

Transaction Summary
====================================================================================================================
Upgrade  1 Package

Total download size: 38 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
java-11-openjdk-headless-11.0.2.7-1.el7.x86_64.rpm                                           |  38 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:java-11-openjdk-headless-11.0.2.7-1.el7.x86_64                                                 1/2 
warning: /usr/lib/jvm/java-11-openjdk-11.0.2.7-1.el7.x86_64/conf/net.properties created as /usr/lib/jvm/java-11-openjdk-11.0.2.7-1.el7.x86_64/conf/net.properties.rpmnew
warning: /usr/lib/jvm/java-11-openjdk-11.0.2.7-1.el7.x86_64/conf/security/java.security created as /usr/lib/jvm/java-11-openjdk-11.0.2.7-1.el7.x86_64/conf/security/java.security.rpmnew
restored /usr/lib/jvm/java-11-openjdk-11.0.2.7-1.el7.x86_64/conf/security/java.security.rpmnew to /usr/lib/jvm/java-11-openjdk-11.0.2.7-1.el7.x86_64/conf/security/java.security
restored /usr/lib/jvm/java-11-openjdk-11.0.2.7-1.el7.x86_64/conf/net.properties.rpmnew to /usr/lib/jvm/java-11-openjdk-11.0.2.7-1.el7.x86_64/conf/net.properties
  Cleanup    : 1:java-11-openjdk-headless-11.0.ea.28-7.el7.x86_64                                               2/2 
warning: file /usr/lib/jvm/java-11-openjdk-11.0.ea.28-7.el7.x86_64/lib/client: remove failed: No such file or directory
  Verifying  : 1:java-11-openjdk-headless-11.0.2.7-1.el7.x86_64                                                 1/2 
  Verifying  : 1:java-11-openjdk-headless-11.0.ea.28-7.el7.x86_64                                               2/2 

Updated:
  java-11-openjdk-headless.x86_64 1:11.0.2.7-1.el7                                                                  

Complete!


Version-Release number of selected component (if applicable):
java-11-openjdk-headless-11.0.ea.28-7.el7
java-11-openjdk-headless-11.0.2.7-1.el7


How reproducible:
always

Steps to Reproduce:
1. install RHEL-7.6
2. # yum install java-11-openjdk-headless
3. enable repo with updated java-11-openjdk-headless
4. # yum update java-11-openjdk-headless

Actual results:
  Cleanup    : 1:java-11-openjdk-headless-11.0.ea.28-7.el7.x86_64                                               2/2 
warning: file /usr/lib/jvm/java-11-openjdk-11.0.ea.28-7.el7.x86_64/lib/client: remove failed: No such file or directory

Expected results:
No warning because cased by "remove failed: No such file or directory"

Comment 6 RHEL Program Management 2021-03-15 07:35:07 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 23 errata-xmlrpc 2021-10-20 15:23:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: java-11-openjdk security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3892

Comment 24 Red Hat Bugzilla 2023-09-15 00:16:30 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.