Actions
Bug #18539
openKatello RPM package leaves empty directories
Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
RPMs
Target version:
-
Difficulty:
easy
Triaged:
No
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?
Updated by Justin Sherrill about 8 years ago
- Category set to Tooling
- Translation missing: en.field_release set to 114
- Difficulty set to easy
Updated by Ewoud Kohl van Wijngaarden over 1 year ago
- Project changed from Katello to Packaging
- Category changed from Tooling to RPMs
- Target version deleted (
Katello Backlog) - Triaged set to No
Confirmed this is still an issue:
# dnf install rubygem-katello # dnf remove rubygem-katello # find /usr/share/gems/gems/katello-4.10.0.pre.master/public/ /usr/share/gems/gems/katello-4.10.0.pre.master/public/ /usr/share/gems/gems/katello-4.10.0.pre.master/public/assets /usr/share/gems/gems/katello-4.10.0.pre.master/public/webpack
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Ewoud Kohl van Wijngaarden
- Pull request https://github.com/theforeman/foreman-packaging/pull/9705 added
Updated by Ewoud Kohl van Wijngaarden 9 months ago
- Red Hat JIRA set to SAT-25717
Updated by The Foreman Bot 9 months ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/11190 added
Updated by The Foreman Bot 8 months ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/11233 added
Actions