Bug 587834

Summary: Override yum's .conf.protected_packages
Product: [Fedora] Fedora Reporter: James Antill <james.antill>
Component: mockAssignee: David Cantrell <dcantrell>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-04 16:25:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Antill 2010-05-01 01:15:14 UTC
Description of problem:
 This BZ is mainly a heads up that mock probably wants to override the .conf.protected_packages yum configuration, or it won't be able to remove yum (and maybe other things in the future).

 AIUI mock needs to  be able to uninstall packages that would tend not to be uninstalled in a normal environment. The yum in rawhide has a protected_packages configuration so you can't remove the last version of yum (or anything specified in /etc/yum/protected.d) by default.

 Just having a "protected_packages =", in mock's yum config. should solve any problems.

Comment 1 Jesse Keating 2010-05-03 21:43:45 UTC
The only time mock would be removing packages is when it's upgrading a cached chroot, so I'm not sure how this would trigger?

Comment 2 James Antill 2010-05-04 13:50:52 UTC
Fair enough, feel free to close NOTABUG then. Seth said he thought you did operations where you removed things like yum/etc, so I let you know we'd probably broken that :).

Comment 3 Jesse Keating 2010-05-04 16:25:23 UTC
Ok, I'll close it then.