Description of problem: Spacewalk-remove-channel does not remove the kickstart trees from the file system for the channel specified. Version-Release number of selected component (if applicable): spacewalk-backend-tools-2.0.3-20 How reproducible: 100% Steps to Reproduce: 1. satellite-sync -c rhel-i386-server-5 2. Check if the kickstart trees are sync. # ll /var/satellite/rhn/kickstart/ks-rhel-i386-server-5- 3. spacewalk-remove-channel -c rhel-i386-server-5 Actual results: The kickstart trees are not removed from the file system. # ll /var/satellite/rhn/kickstart/ks-rhel-i386-server-5- Expected results: The kickstart trees are removed from the file system. Additional info:
Created attachment 857418 [details] patch
Additional commits commit 8eedd31b92166c53b622a76f252cf307c757d451 1058431 - don't remove files referenced from other distributions/trees commit 2938b15e4612600dd25424839402e6d69f9d278f 1058431 - propagate --skip-kickstart-trees to delete_channels() commit 603d6cb64063e781b431c170316c07772f104639 fixed man page for spacewalk-remove-channel commit 67ea5b347b76294b9d12f6cc9566666168a74b79 added option to skip kickstart trees removal
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 Cliff