Project

General

Profile

Actions

Bug #27186

closed

katello-remove failed to remove '/var/cache/pulp' because it is a mounted directory

Added by Chris Roberts almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

  1. 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.

  1. katello-remove does not completely remove data on mounted filesystems
    https://bugzilla.redhat.com/show_bug.cgi?id=1574257
Actions #1

Updated by The Foreman Bot almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/3871 added
Actions #2

Updated by Chris Roberts almost 5 years ago

  • Target version set to Katello 3.13.0
Actions #3

Updated by Chris Roberts almost 5 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/3983 added
Actions #5

Updated by Jonathon Turel over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF