Bug 427420

Summary: SELinux is preventing /usr/sbin/setsebool (setsebool_t) "setbool" to <Unknown> (security_t).
Product: [Fedora] Fedora Reporter: Dave <dcatkin>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: urgent Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-26 22:46:14 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 Dave 2008-01-03 18:21:56 UTC
Summary
    SELinux is preventing /usr/sbin/setsebool (setsebool_t) "setbool" to
    <Unknown> (security_t).

Detailed Description
    SELinux denied access requested by /usr/sbin/setsebool. It is not expected
    that this access is required by /usr/sbin/setsebool and this access may
    signal an intrusion attempt. It is also possible that the specific version
    or configuration of the application is causing it to require additional
    access.

Allowing Access
    You can generate a local policy module to allow this access - see
    http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385 Or you can disable
    SELinux protection altogether. Disabling SELinux protection is not
    recommended. Please file a http://bugzilla.redhat.com/bugzilla/enter_bug.cgi
    against this package.

Additional Information        

Source Context                system_u:system_r:setsebool_t
Target Context                system_u:object_r:security_t
Target Objects                None [ security ]
Affected RPM Packages         policycoreutils-2.0.33-3.fc8 [application]
Policy RPM                    selinux-policy-3.0.8-72.fc8
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   plugins.catchall
Host Name                     home.supercaregistry.info
Platform                      Linux home.supercaregistry.info 2.6.23.9-85.fc8 #1
                              SMP Fri Dec 7 15:49:59 EST 2007 i686 i686
Alert Count                   1
First Seen                    Thu 03 Jan 2008 11:18:09 AM MST
Last Seen                     Thu 03 Jan 2008 11:18:09 AM MST
Local ID                      ac3dc4ae-9a32-4f27-b196-2d492d65e399
Line Numbers                  

Raw Audit Messages            

avc: denied { setbool } for comm=setsebool egid=0 euid=0 exe=/usr/sbin/setsebool
exit=-13 fsgid=0 fsuid=0 gid=0 items=0 pid=5858
scontext=system_u:system_r:setsebool_t:s0 sgid=0
subj=system_u:system_r:setsebool_t:s0 suid=0 tclass=security
tcontext=system_u:object_r:security_t:s0 tty=(none) uid=0

Comment 1 Daniel Walsh 2008-01-03 19:47:51 UTC
This is strange it would be allowed by the current policy.

Did you previously turn on one of the secure_mode booleans?
getsebool -a | grep secure_mode