Bug 1286325 - semanage permissive fails and reports valid domain types as "not a domain type"
Summary: semanage permissive fails and reports valid domain types as "not a domain type"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1291604 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-28 04:05 UTC by sorasl
Modified: 2015-12-16 14:35 UTC (History)
4 users (show)

Fixed In Version: policycoreutils-2.4-18.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-16 08:23:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description sorasl 2015-11-28 04:05:11 UTC
Description of problem:
Using semanage permissive does not make domains permissive but instead reports that the domain isn't a domain type

Version-Release number of selected component (if applicable):
policycoreutils-python-utils-2.4-17.fc23.x86_64

How reproducible:
always

Steps to Reproduce:
1. semanage permissive -a httpd_t

Actual results:
ValueError: ['httpd_t'] is not a domain type

Expected results:
httpd_t is added as a permissive domain

Comment 1 Petr Lautrbach 2015-12-11 11:28:37 UTC
Thanks for the report. It's already fixed in rawhide and the fix will be in the next f23 update.

https://github.com/fedora-selinux/selinux/commit/aa4f35f0b462af8bd0f02cf8d948ba2e824dd082

Comment 2 sorasl 2015-12-13 17:25:17 UTC
Thanks for the fix. Appreciated.

Comment 3 Fedora Update System 2015-12-14 20:21:20 UTC
policycoreutils-2.4-18.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-c24c78c36d

Comment 4 Petr Lautrbach 2015-12-15 09:42:20 UTC
*** Bug 1291604 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2015-12-15 10:52:22 UTC
policycoreutils-2.4-18.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update policycoreutils'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-c24c78c36d

Comment 6 Jamie Nguyen 2015-12-15 11:20:08 UTC
I can confirm that "semanage permissive -a foo_t" works again with policycoreutils-2.4-18.fc23. Thanks!

Comment 7 Fedora Update System 2015-12-16 08:23:50 UTC
policycoreutils-2.4-18.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-12-16 14:35:00 UTC
policycoreutils-2.4-18.fc23 has been pushed to the Fedora 23 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.