Bug 575133

Summary: SELinux is preventing knotify4 (hotplug_t) "execstack" hotplug_t.
Product: [Fedora] Fedora Reporter: kerrgi
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:2159cb3cc260cfc2126bf8818a8450f9cd76fed3dded2ae6ac9bf3a678ba323a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-19 15:18:30 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 kerrgi 2010-03-19 14:58:29 UTC
Summary:

SELinux is preventing knotify4 (hotplug_t) "execstack" hotplug_t.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by knotify4. It is not expected that this access
is required by knotify4 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 FAQ
(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 bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                unconfined_u:system_r:hotplug_t:s0
Target Context                unconfined_u:system_r:hotplug_t:s0
Target Objects                None [ process ]
Source                        knotify4
Source Path                   /usr/bin/knotify4
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdebase-runtime-4.3.0-4.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-78.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.29.6-217.2.3.fc11.x86_64 #1 SMP
                              Wed Jul 29 16:02:42 EDT 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Wed 26 Aug 2009 05:36:16 PM PDT
Last Seen                     Wed 26 Aug 2009 05:36:16 PM PDT
Local ID                      c81b45ed-e96f-4239-bac6-c079b4f6a6da
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1251333376.393:144): avc:  denied  { execstack } for  pid=3749 comm="knotify4" scontext=unconfined_u:system_r:hotplug_t:s0 tcontext=unconfined_u:system_r:hotplug_t:s0 tclass=process

node=(removed) type=SYSCALL msg=audit(1251333376.393:144): arch=c000003e syscall=10 success=yes exit=0 a0=7fff37ac0000 a1=1000 a2=1000007 a3=3c3ca1a141 items=0 ppid=1 pid=3749 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="knotify4" exe="/usr/bin/knotify4" subj=unconfined_u:system_r:hotplug_t:s0 key=(null)



Hash String generated from  catchall,knotify4,hotplug_t,hotplug_t,process,execstack
audit2allow suggests:

#============= hotplug_t ==============
allow hotplug_t self:process execstack;

Comment 1 Miroslav Grepl 2010-03-19 15:18:30 UTC

*** This bug has been marked as a duplicate of bug 575130 ***