Issue Details (XML | Word | Printable)

Key: SFOS-1145
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Steve Loughran
Reporter: Steve Loughran
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
SmartFrog

Unowned RPMs found in $SFHOME/lib after upgrades -from older packages

Created: 13/Mar/09 12:16 PM (GMT)   Updated: 30/Mar/09 05:11 PM (BST)
Component/s: release build
Affects Version/s: 3.17.010
Fix Version/s: 3.17.010

Time Tracking:
Not Specified

Environment: Centos 5.2 VM image -only ever had RPMs installed via the ant targets release/install-remote-rpms

Compatibility: unknown


 Description  « Hide
This is something I've just seen : unowned files in $SFHOME/lib. The artifacts are dependent libraries of older RPMs. libraries that were replaced by newer versioned artifacts (With different numbers) in later versions.

Test
1. log in to the machine
2. run rpm -qf /opt/smartfrog/lib *.jar

Look for the string " is not owned by any package", as in:

smartfrog-velocity-3.17.005dev-1.el4
smartfrog-xml-3.17.005dev-1.el4
file /opt/smartfrog/lib/xercesImpl-2.6.2.jar is not owned by any package
smartfrog-xml-3.17.005dev-1.el4
smartfrog-xml-3.17.005dev-1.el4
smartfrog-hadoop-3.17.005dev-1.el4
file /opt/smartfrog/lib/xmlParserAPIs-2.6.2.jar is not owned by any package

we could automate a test for this.


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Steve Loughran added a comment - 13/Mar/09 12:17 PM (GMT)
What are the consequences of this problem?
* old JARs remain on the classpath
* strange classpath errors

Steve Loughran added a comment - 30/Mar/09 05:11 PM (BST)
This is now checked for in our install scripts; I believe it was caused by changing the artifact list without changing the RPM number.