Created attachment 415969 [details] A trivial reproduced situation when installing php and removing it again Description of problem: When removing package with '--remove-leaves' option, yum shows no regard to the protected packages set through the 'protect-packages' plugin. Version-Release number of selected component (if applicable): [cheese@cheese-laptop ~]$ rpm -qa yum* yum-plugin-remove-with-leaves-1.1.26-1.fc13.noarch yum-3.2.27-4.fc13.noarch yum-utils-1.1.26-1.fc13.noarch yum-plugin-protect-packages-1.1.26-1.fc13.noarch yum-plugin-fastestmirror-1.1.26-1.fc13.noarch yum-plugin-merge-conf-1.1.26-1.fc13.noarch yum-presto-0.6.2-1.fc13.noarch yum-metadata-parser-1.1.4-1.fc13.i686 yum-plugin-show-leaves-1.1.26-1.fc13.noarch How reproducible: (See the attached file install-and-remove-package.txt) And I added 'httpd' in /etc/sysconfig/protected-packages . Actual results: 'httpd' was still removed. Expected results: 'httpd' will be protected from removing.
That might be fixable, but the upstream/rawhide yum moved protected-packages into core ... and it will work with other plugins then.