Project

Profile

Help

Issue #5195

Removal of python2-celery-4.0.2-5.el7sat.noarch leave behind systemd files

Added by chrobert@redhat.com 3 months ago. Updated 2 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
1. Low
Version:
2.18.1
Platform Release:
Blocks Release:
OS:
RHEL 7
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

When removing python2-celery-4.0.2-5.el7sat.noarch

This file gets left behind:

'/etc/systemd/system/multi-user.target.wants/pulp_celerybeat.service',

When removing pulp either manually or with katello-remove we should not have any artifacts leftover.

History

#1 Updated by chrobert@redhat.com 3 months ago

Also we have these files left behind too:

'/etc/systemd/system/multi-user.target.wants/pulp_resource_manager.service',
'/etc/systemd/system/multi-user.target.wants/pulp_streamer.service',
'/etc/systemd/system/multi-user.target.wants/pulp_workers.service',

#2 Updated by ttereshc 3 months ago

Did you remove python2-celery-4.0.2-5.el7sat.noarch only?
Can you elaborate what exactly you removed and how?

The remaining items in /etc which you referred to, are they symlinks to files under /usr, or actual files under /etc?

#4 Updated by amacdona@redhat.com 2 months ago

  • Triaged changed from No to Yes

#5 Updated by mdepaulo@redhat.com 2 months ago

Also, I am not sure why removing python2-celery should ever remove the service file.

The service file is provided by "pulp-server", a subpackage of pulp:
https://github.com/pulp/pulp-packaging/blob/5089c3618a985f73638d72e3ff8e1d35ac80576a/packages/pulp/pulp.spec#L470

And "pulp-server" calls the systemd scriptlet, that we would expect to remove the symlink under /etc:
https://github.com/pulp/pulp-packaging/blob/5089c3618a985f73638d72e3ff8e1d35ac80576a/packages/pulp/pulp.spec#L529

Please register to edit this issue

Also available in: Atom PDF