Bug 981740 - Cannot remove selinux
Cannot remove selinux
Product: Fedora
Classification: Fedora
Component: libsemanage (Show other bugs)
All Linux
unspecified Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-07-05 12:27 EDT by Scott Baker
Modified: 2013-07-23 23:23 EDT (History)
3 users (show)

See Also:
Fixed In Version: libsemanage-2.1.10-6.fc19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-23 23:23:43 EDT
Type: Bug
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 Scott Baker 2013-07-05 12:27:56 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):

How reproducible:

Steps to Reproduce:
1. Install F19
2. Try and yum remove selinux*

Actual results:
Fails due a systemd dependancy

Expected results:
It removes selinux
Comment 1 Daniel Walsh 2013-07-09 11:17:35 EDT
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.
Comment 2 Daniel Walsh 2013-07-09 11:19:35 EDT
fixed in libsemanage-2.1.10-6.fc19
Comment 3 Scott Baker 2013-07-09 12:43:02 EDT
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?
Comment 4 Fedora Update System 2013-07-09 16:15:46 EDT
libsemanage-2.1.10-6.fc19 has been submitted as an update for Fedora 19.
Comment 5 Fedora Update System 2013-07-10 22:35:31 EDT
Package libsemanage-2.1.10-6.fc19:
* 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).
Comment 6 Fedora Update System 2013-07-23 23:23:43 EDT
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.

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