Description of problem: When trying to remove a Policy Module with priority other than 400 via GUI, it fails when it cannot find the module with priority 400 to remove. Version-Release number of selected component (if applicable): '2006'? How reproducible: Worked every time for me. Steps to Reproduce: 1. Add policy for something, I used "my-qemusystemx86", priority != 400 2. Open system-config-selinux and go to Policy Module and search for your policy 3. Click remove, it will fail as long as there isn't a priority 400 for it Actual results: Complains about no priority 400 to remove Expected results: Removes priority Y Policy Module Additional info: Seems to just be calling the command "semodule -r NAME" when it should be calling "semodule -x PRIORITY -r NAME"
Created attachment 1603559 [details] Quick fix Added the -X to the command so it now specifies the Priority when removing.
FEDORA-2019-130a2b2cd6 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-130a2b2cd6
FEDORA-2019-f75c1a1b26 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f75c1a1b26
policycoreutils-2.9-4.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f75c1a1b26
policycoreutils-2.9-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-130a2b2cd6
policycoreutils-2.9-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
policycoreutils-2.9-4.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.