Bug 587441 - RFE: Use the protect packages feature of yum, to protect the "main" python
RFE: Use the protect packages feature of yum, to protect the "main" python
Product: Fedora
Classification: Fedora
Component: python (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Dave Malcolm
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-04-29 18:32 EDT by James Antill
Modified: 2011-09-02 13:14 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-09-02 13:14:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Antill 2010-04-29 18:32:11 EDT
Description of problem:
 We've merged protect-packages into yum (first version in rawhide is 3.2.27-9.fc14), and with the default config. a package can drop a file of "protected packages" into /etc/yum/protected.d

 Eg. python atm. should do:

echo python > /etc/yum/protected.d/python.conf

...this will stop users of yum from removing python, without going to a lot of trouble.
 Given python is such a core feature, I figured I'd open this BZ.
Comment 1 Dave Malcolm 2010-05-04 18:25:26 EDT
Is this yum feature documented somewhere?
Comment 2 Dave Malcolm 2011-04-18 20:59:41 EDT
(In reply to comment #1)
> Is this yum feature documented somewhere?
Answering my own question, I see:

which says:
"yum is by default the only protected package, but by extension this automatically protects everything that yum depends on(rpm, python, glibc, etc.). So then this functionality is very good even without the need to carefully construct lists of important packages."

So is this actually needed?
Comment 3 Toshio Ernie Kuratomi 2011-09-02 13:14:27 EDT
Talked with seth.  He agrees that the yum dependency on python is sufficient for now.

Note You need to log in before you can comment on or make changes to this bug.