Bug #27186
closedkatello-remove failed to remove '/var/cache/pulp' because it is a mounted directory
Description
Description of problem:
- katello-remove -y
Starting removal
Stopping services
Removing RPMs
Cleaning up configuration files
Cleaning up log files
Cleaning up certs
Cleaning up content
/usr/share/ruby/fileutils.rb:1433:in `rmdir': Device or resource busy - /var/cache/pulp (Errno::EBUSY)
from /usr/share/ruby/fileutils.rb:1433:in `block in remove_dir1'
from /usr/share/ruby/fileutils.rb:1444:in `platform_support'
from /usr/share/ruby/fileutils.rb:1432:in `remove_dir1'
from /usr/share/ruby/fileutils.rb:1425:in `remove'
from /usr/share/ruby/fileutils.rb:770:in `block in remove_entry'
from /usr/share/ruby/fileutils.rb:1477:in `block (2 levels) in postorder_traverse'
from /usr/share/ruby/fileutils.rb:1481:in `postorder_traverse'
from /usr/share/ruby/fileutils.rb:1476:in `block in postorder_traverse'
from /usr/share/ruby/fileutils.rb:1475:in `each'
from /usr/share/ruby/fileutils.rb:1475:in `postorder_traverse'
from /usr/share/ruby/fileutils.rb:768:in `remove_entry'
from /usr/share/ruby/fileutils.rb:626:in `block in rm_r'
from /usr/share/ruby/fileutils.rb:622:in `each'
from /usr/share/ruby/fileutils.rb:622:in `rm_r'
from /sbin/katello-remove:188:in `remove'
from /sbin/katello-remove:231:in `<main>'
This following bugzilla doesn't fix the issue completely.
- katello-remove does not completely remove data on mounted filesystems
https://bugzilla.redhat.com/show_bug.cgi?id=1574257
Updated by The Foreman Bot over 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/3871 added
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/3983 added
Updated by Jonathon Turel over 5 years ago
- Status changed from Ready For Testing to Closed