Bug 598658

Summary: libsemanage.semanage_install_active: setfiles returned error code 1 installing 3.7.19-22.fc13
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.7.19-23.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-08 19:28:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2010-06-01 19:44:23 UTC
Description of problem:

I had to run the scriptlet by hand to see the full errors:

libsepol.context_from_record: type httpd_sys_rw_content_rw_t is not defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert system_u:object_r:httpd_sys_rw_content_rw_t:s0 to sid
invalid context system_u:object_r:httpd_sys_rw_content_rw_t:s0
libsemanage.semanage_install_active: setfiles returned error code 1.
semodule:  Failed!

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.7.19-22.fc13.noarch

Comment 1 Daniel Walsh 2010-06-01 20:43:24 UTC
Miroslav, this line is wrong.

+/etc/dokuwiki(/.*)?			gen_context(system_u:object_r:httpd_sys_rw_content_rw_t,s0)


Please fix and replace the 22 build in koji.

Comment 2 Daniel Walsh 2010-06-01 20:45:45 UTC
Looks like this is fixed in selinux-policy-3.7.19-23.fc13


Orion can you pull this build out of koji?

Comment 3 Miroslav Grepl 2010-06-02 08:34:38 UTC
Yes, it is fixed in selinux-policy-3.7.19-23.fc13.

Comment 5 Fedora Update System 2010-06-02 09:04:43 UTC
selinux-policy-3.7.19-23.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-23.fc13

Comment 6 Fedora Update System 2010-06-02 18:13:15 UTC
selinux-policy-3.7.19-23.fc13 has been pushed to the Fedora 13 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 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-23.fc13

Comment 7 Fedora Update System 2010-06-08 19:27:16 UTC
selinux-policy-3.7.19-23.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.