Red Hat Bugzilla – Bug 981740
Cannot remove selinux
Last modified: 2013-07-23 23:23:43 EDT
Description of problem:
I don't use selinux, I find it complicated problematic. In previous versions of Fedora, up to Fedora 18, I was able to yum remove selinux* and it would remove all selinux components. In Fedora 19, when I try that command it fails as it pulls in systemd as a dependency.
Before the answer is "just disable selinux, don't try and remove it" I'll tell you why I remove it, instead of disabling it. The "yum updates" for selinux components are large, and take a long time to install (updating all the file contexts?). Basically any selinux update really slows down my yum updates. Since I don't use it at all, I'd really like to be able to remove it completely.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install F19
2. Try and yum remove selinux*
Fails due a systemd dependancy
It removes selinux
You should be able to remove
libsemanage grew a dependency on selinux-policy, which I will remove. and reverse it. selinux-policy should rely on libsemanage.
fixed in libsemanage-2.1.10-6.fc19
You were right, I can remove selinux-policy-targeted, but not selinux-policy. We're halfway there.
Where can I get libsemanage-2.1.10-6.fc19 to test with?
libsemanage-2.1.10-6.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libsemanage-2.1.10-6.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
libsemanage-2.1.10-6.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.