Project

Profile

Help

Issue #3039

closed

Uninstalling pulp-rpm-handlers removes /etc/yum.repos.d/pulp.repo

Added by Ichimonji10 over 6 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Uninstalling pulp-rpm-handlers removes /etc/yum.repos.d/pulp.repo. This is concerning, because:

1. This file isn't owned by the pulp-rpm-handlers package, as far as I can tell. A package shouldn't touch files it doesn't own.
2. It's unintuitive. I've never, ever heard of a package that blows away an entire repository file. At most, I would expect an entry from a repository file to be removed.
3. It can break the system. Any number of repositories might be listed in that file, and blowing away that file will make all of them unavailable.

This third point is the one that's most problematic. Whenever a system is provisioned with the Ansible playbooks in the pulp_packaging repository, a repository is created in /etc/yum.repos.d/pulp.repo, where that file lists our nightly builds of Pulp 2.x. Uninstalling pulp-rpm-handlers blows away that file, which breaks the system, which makes it much harder to test pulp-consumer and pulp-agent. Pulp Smash #611 is heavily affected.

Also available in: Atom PDF