Bug 701030

Summary: /usr/share/tomcat6/bin not owned by RPM
Product: [Fedora] Fedora Reporter: John Dennis <jdennis>
Component: tomcat6Assignee: David Knox <dknox>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dknox, dwalluck, jclere, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tomcat6-6.0.32-8.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-19 04:35:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Dennis 2011-04-30 13:16:38 UTC
The /usr/share/tomcat6/bin is not owned by the RPM, thus it is orphaned when the rpm is erased.

This occurs because %{bindir} is not listed in the %files section as %dir.

Also as an aside it might make sense to define %{bindir} so it's relative to ${homedir}

rather than:

%global bindir %{_datadir}/%{name}/bin
%global homedir %{_datadir}/%{name}

The following might be a tad cleaner and more robust:

%global homedir %{_datadir}/%{name}
%global bindir %{homedir}/bin

that way if homedir ever changes bindir will move with it and allows for the possibility of just adding homedir to the %files.

Comment 1 Fedora Update System 2011-05-16 18:53:11 UTC
tomcat6-6.0.32-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-1.fc15

Comment 2 Fedora Update System 2011-05-17 05:38:05 UTC
Package tomcat6-6.0.32-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tomcat6-6.0.32-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-1.fc15
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-05-18 21:40:14 UTC
tomcat6-6.0.32-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-2.fc15

Comment 4 Fedora Update System 2011-07-05 17:51:42 UTC
tomcat6-6.0.32-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-4.fc15

Comment 5 Fedora Update System 2011-09-27 22:25:41 UTC
tomcat6-6.0.32-8.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-8.fc15

Comment 6 Fedora Update System 2011-09-27 22:26:56 UTC
tomcat6-6.0.32-17.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-17.fc16

Comment 7 Fedora Update System 2011-10-19 04:35:42 UTC
tomcat6-6.0.32-17.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-10-20 09:57:47 UTC
tomcat6-6.0.32-8.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.