Project

General

Profile

Bug #18539

Katello RPM package leaves empty directories

Added by Lukas Zapletal over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tooling
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When you upgrade the RPM, these directories are left:

opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94/public/assets

I think we need to add these as %ghost files or something so they are removed properly.

Can't find packaging component, is this the correct project?

History

#1 Updated by Justin Sherrill over 2 years ago

  • Category set to Tooling
  • Legacy Backlogs Release (now unused) set to 114
  • Difficulty set to easy

Also available in: Atom PDF