Bug 976411 - tomcat7 rpm verify problem
Summary: tomcat7 rpm verify problem
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: tomcat7
Version: 2.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ER03
: 2.1.0
Assignee: Coty Sutherland
QA Contact: Pavel Slavicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-20 14:02 UTC by Michal Haško
Modified: 2019-06-13 09:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In JBoss Enterprise Web Server, the output of the following command shows that the file is owned by two packages, <classname>tomcat7-el-1.0-api-7.0.40-5_patch_01.ep6.el5</classname> and <classname>tomcat7-lib-7.0.40-5_patch_01.ep6.el5</classname>: <screen>rpm -qf /usr/share/java/tomcat7/tomcat7-el-1.0-api-7.0.40.jar</screen> As a consequence the following command shows wrong ownership of <filename>/usr/share/java/tomcat7/tomcat7-el-1.0-api-7.0.40.jar</filename>: <screen>rpm -V tomcat7-el-1.0-api</screen> This issue is fixed in JBoss Enterprise Web Server 2.1.
Clone Of:
Environment:
Last Closed: 2019-06-13 09:17:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Haško 2013-06-20 14:02:52 UTC
Description of problem:
"rpm -V tomcat7-el-1.0-api" shows wrong group ownership of:
/usr/share/java/tomcat7/tomcat7-el-1.0-api-7.0.40.jar

Version-Release number of selected component (if applicable):
tomcat7-el-1.0-api-7.0.40-5_patch_01.ep6.el5

How reproducible:
100%

Steps to Reproduce:
1. rpm -V tomcat7-el-1.0-api

Actual results:
......G.    /usr/share/java/tomcat7/tomcat7-el-1.0-api-7.0.40.jar

Expected results:
no output

Additional info:
rpm -qf /usr/share/java/tomcat7/tomcat7-el-1.0-api-7.0.40.jar shows that the file (symlink) is owned by two packages:
tomcat7-el-1.0-api-7.0.40-5_patch_01.ep6.el5
tomcat7-lib-7.0.40-5_patch_01.ep6.el5
This is most probably the cause of this problem. I haven't checked, but I think one of the rpms contains the symlink with different group ownership.

Comment 2 David Knox 2014-01-08 16:50:26 UTC
The resolution of rhbz 901173 resolves this also. The current version of el-api is 2.2 but was still labeled/named 1.0. This was true of the alternatives install as well. This bz was fixed in the process of relabeling and fixing alternatives install to use the correct name.

Comment 3 Libor Fuka 2014-06-27 12:25:23 UTC
Check it, please.

Comment 4 Michal Haško 2014-07-17 13:33:48 UTC
VERIFIED on tomcat7-el-2.2-api-7.0.54-2_patch_01.ep6.el7.noarch

Comment 5 Mandar Joshi 2014-08-10 07:48:23 UTC
Added Doc Text.


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