Hide Forgot
Description of problem: When upgrading candlepin-tomcat6 (or any of the candlepin-* subpackages) we are leaving around lingering files from the previous installs. Version-Release number of selected component (if applicable): How reproducible: Install candlepin < 0.4.10. Then upgrade to 0.4.10. Then run: find /var/lib/tomcat6/webapps/candlepin -type f -exec rpm -q --whatprovides {} \; | grep "not owned by any package" That should list out all the files that were left behind.
Created attachment 518271 [details] list of files not cleaned up from previous installations
Created attachment 518272 [details] tomcat log file Notice in the log file, that we are looking for a non-existent database table: cp_subscription_token.
Created attachment 518273 [details] rpm -ql listing of candlepin-tomcat6
Created attachment 518274 [details] listing of exploded files in tomcat webapps dir for candlepin
tarball of exploded tomcat webapps dir: http://jmrodri.fedorapeople.org/tomcat-webapps-dir.tgz
fixed by e167a8d580192ca97adab8db3240e7091386e587 in master. Requires candlepin-tomcat6 0.5.1 or greater.
test plan -------------- * install Candlepin 0.4.25 or 0.4.27, get a list of files from both candlepin and candlepin-tomcat6 packages * rpm -ql candlepin | xargs -n 1 ls -la > /tmp/candlepin-files.txt * rpm -ql candlepin-tomcat6 | xargs -n 1 ls -la > /tmp/candlepin-tomcat6-files.txt * Now upgrade to candlepin-* 0.5.1 or newer * rpm -ql candlepin | xargs -n 1 ls -la > /tmp/candlepin-files.txt * rpm -ql candlepin-tomcat6 | xargs -n 1 ls -la > /tmp/candlepin-tomcat6-files.txt Compare the files. Ensure that files from 0.4.x are not still around.
Marking all community bugs modified or beyong as closed.