Name: gm110360 Date: 07/08/2003
FULL PRODUCT VERSION :
[root@earth root]# /usr/java/j2re1.4.2/bin/java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
FULL OS VERSION :
Red Hat Linux v9 (Linux earth.snydernet.lan 2.4.21 #1 Fri Jun 13 20:51:37 PDT 2003 i586 i586 i386 GNU/Linux)
EXTRA RELEVANT SYSTEM CONFIGURATION :
System is current with all RHL v9 updates/fixes released as of this date.
A DESCRIPTION OF THE PROBLEM :
Files installed by a Red Hat Package Manager (RPM) package should "own" the files that it installs. That is, one whould be able to query the RPM database for the package that installed a given file on the system. The Java v1.4.2 installation does not own the files it installed in directory /usr/local/man/man1. (Note that these files are duplicates of the files installed in directory /usr/java/j2re1.4.2/man/man1.)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Update installed Java (1.4.2-beta) package: rpm -Uvh j2re-1_4_2-linux-i586.rpm
2. Note that files have been installed into directory /usr/local/man/man1. (That's unusual for RPM-packaged software.)
3. Files in this directory have names and timestamps that suggests installation frpm the 1.4.2 J2RE package. Attempt to verify this with the RPM query-file command:
# rpm -qf /usr/local/man/man1/java.1
file /usr/local/man/man1/java.1 is not owned by any package
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
All files installed by the RedHat Package Manager should be "owned" by the package that installed them. The 11 files installed into directory /usr/local/man/man1 are not associated with any particular package.
ACTUAL -
# rpm -qf /usr/local/man/man1/java.1
file /usr/local/man/man1/java.1 is not owned by any package
# ls -l /usr/local/man/man1/
total 156
-r--r--r-- 1 root bin 14485 Jun 20 02:29 java.1
-r--r--r-- 1 root bin 2884 Jun 20 02:29 javaws.1
-r--r--r-- 1 root bin 67341 Jun 20 02:29 keytool.1
-r--r--r-- 1 root bin 3634 Jun 20 02:29 kinit.1
-r--r--r-- 1 root bin 1898 Jun 20 02:29 klist.1
-r--r--r-- 1 root bin 2860 Jun 20 02:29 ktab.1
-r--r--r-- 1 root bin 4694 Jun 20 02:29 orbd.1
-r--r--r-- 1 root bin 8014 Jun 20 02:29 policytool.1
-r--r--r-- 1 root bin 11560 Jun 20 02:29 rmid.1
-r--r--r-- 1 root bin 2457 Jun 20 02:29 rmiregistry.1
-r--r--r-- 1 root bin 4577 Jun 20 02:29 servertool.1
-r--r--r-- 1 root bin 8698 Jun 20 02:29 tnameserv.1
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No errors or warnings seen on installation.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 189586)
======================================================================
###@###.### 11/4/04 20:55 GMT
FULL PRODUCT VERSION :
[root@earth root]# /usr/java/j2re1.4.2/bin/java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
FULL OS VERSION :
Red Hat Linux v9 (Linux earth.snydernet.lan 2.4.21 #1 Fri Jun 13 20:51:37 PDT 2003 i586 i586 i386 GNU/Linux)
EXTRA RELEVANT SYSTEM CONFIGURATION :
System is current with all RHL v9 updates/fixes released as of this date.
A DESCRIPTION OF THE PROBLEM :
Files installed by a Red Hat Package Manager (RPM) package should "own" the files that it installs. That is, one whould be able to query the RPM database for the package that installed a given file on the system. The Java v1.4.2 installation does not own the files it installed in directory /usr/local/man/man1. (Note that these files are duplicates of the files installed in directory /usr/java/j2re1.4.2/man/man1.)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Update installed Java (1.4.2-beta) package: rpm -Uvh j2re-1_4_2-linux-i586.rpm
2. Note that files have been installed into directory /usr/local/man/man1. (That's unusual for RPM-packaged software.)
3. Files in this directory have names and timestamps that suggests installation frpm the 1.4.2 J2RE package. Attempt to verify this with the RPM query-file command:
# rpm -qf /usr/local/man/man1/java.1
file /usr/local/man/man1/java.1 is not owned by any package
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
All files installed by the RedHat Package Manager should be "owned" by the package that installed them. The 11 files installed into directory /usr/local/man/man1 are not associated with any particular package.
ACTUAL -
# rpm -qf /usr/local/man/man1/java.1
file /usr/local/man/man1/java.1 is not owned by any package
# ls -l /usr/local/man/man1/
total 156
-r--r--r-- 1 root bin 14485 Jun 20 02:29 java.1
-r--r--r-- 1 root bin 2884 Jun 20 02:29 javaws.1
-r--r--r-- 1 root bin 67341 Jun 20 02:29 keytool.1
-r--r--r-- 1 root bin 3634 Jun 20 02:29 kinit.1
-r--r--r-- 1 root bin 1898 Jun 20 02:29 klist.1
-r--r--r-- 1 root bin 2860 Jun 20 02:29 ktab.1
-r--r--r-- 1 root bin 4694 Jun 20 02:29 orbd.1
-r--r--r-- 1 root bin 8014 Jun 20 02:29 policytool.1
-r--r--r-- 1 root bin 11560 Jun 20 02:29 rmid.1
-r--r--r-- 1 root bin 2457 Jun 20 02:29 rmiregistry.1
-r--r--r-- 1 root bin 4577 Jun 20 02:29 servertool.1
-r--r--r-- 1 root bin 8698 Jun 20 02:29 tnameserv.1
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No errors or warnings seen on installation.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 189586)
======================================================================
###@###.### 11/4/04 20:55 GMT
- duplicates
-
JDK-5109119 rpm: /usr/java/jdk1.5.0 erased during POSTUN script
-
- Closed
-
-
JDK-6211006 Default Java on Linux
-
- Resolved
-