Bug 238519

Summary: AVC denied { signull } for setroubleshootd
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: jdennis
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Current Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-22 14:13:48 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 Robert Scheck 2007-05-01 00:47:47 UTC
Description of problem:
type=AVC msg=audit(1177979939.505:177768): avc:  denied  { signull } for  
pid=15541 comm="setroubleshootd" scontext=user_u:system_r:setroubleshootd_t:s0 
tcontext=user_u:system_r:setroubleshootd_t:s0 tclass=process
type=SYSCALL msg=audit(1177979939.505:177768): arch=40000003 syscall=37 
success=yes exit=0 a0=3cb3 a1=0 a2=e1cbb4 a3=b65e50f8 items=0 ppid=1 pid=15541 
auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) 
comm="setroubleshootd" exe="/usr/bin/python" 
subj=user_u:system_r:setroubleshootd_t:s0 key=(null)

Version-Release number of selected component (if applicable):
selinux-policy-2.6.1-1
selinux-policy-targeted-2.6.1-1

How reproducible:
Everytime, just start setroubleshoot.

Actual results:
AVC denied message, setroubleshoot is exiting...

Expected results:
No AVC denied message, no quitting setroubleshoot.

Comment 1 Robert Scheck 2007-05-03 20:55:06 UTC
type=AVC msg=audit(1178136814.147:178768): avc:  denied  { signull } for  
pid=5868 comm="setroubleshootd" scontext=user_u:system_r:setroubleshootd_t:s0 
tcontext=user_u:system_r:unconfined_t:s0 tclass=process
type=SYSCALL msg=audit(1178136814.147:178768): arch=40000003 syscall=37 
success=yes exit=0 a0=361a a1=0 a2=1128bb4 a3=b6400188 items=0 ppid=1 pid=5868 
auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) 
comm="setroubleshootd" exe="/usr/bin/python" 
subj=user_u:system_r:setroublesootd_t:s0 key=(null)

Comment 2 Daniel Walsh 2007-05-04 13:35:23 UTC
How did you get this to happen?  

Comment 3 Robert Scheck 2007-05-04 13:53:01 UTC
I'm just starting setroubleshootd and waiting some time until it kills itself.

Comment 4 Daniel Walsh 2007-05-04 14:41:50 UTC
Fixed in selinux-policy-2.6.3-1.fc7

Comment 5 Robert Scheck 2007-05-04 18:09:14 UTC
Is 2.6.3-1 somewhere available during the merge?

Comment 6 Robert Scheck 2007-05-06 21:27:03 UTC
type=AVC msg=audit(1178387459.584:180684): avc:  denied  { signull } for  
pid=27007 comm="setroubleshootd" scontext=user_u:system_r:setroubleshootd_t:s0 
tcontext=user_u:system_r:rpm_t:s0 tclass=process
type=SYSCALL msg=audit(1178387459.584:180684): arch=40000003 syscall=37 
success=yes exit=0 a0=6895 a1=0 a2=ffebb4 a3=b513cbe0 items=0 ppid=1 pid=27007 
auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) 
comm="setroubleshootd" exe="/usr/bin/python" 
subj=user_u:system_r:setroubleshootd_t:s0 key=(null)"

Comment 7 Robert Scheck 2007-05-06 21:27:35 UTC
Daniel, looks like setroubleshootd has problems with signull?!

Comment 8 Robert Scheck 2007-05-27 10:06:46 UTC
NO! This bug is not fixed in selinux-policy-targeted-2.6.4-8:

type=AVC msg=audit(1180177580.521:188757): avc:  denied  { signull } for  
pid=16328 comm="setroubleshootd" scontext=user_u:system_r:setroubleshootd_t:s0 
tcontext=user_u:system_r:unconfined_t:s0 tclass=process
type=SYSCALL msg=audit(1180177580.521:188757): arch=40000003 syscall=37 
success=yes exit=0 a0=4f19 a1=0 a2=10c8c14 a3=b524f008 items=0 ppid=1 
pid=16328 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=
(none) comm="setroubleshootd" exe="/usr/bin/python" 
subj=user_u:system_r:setroubleshootd_t:s0 key=(null)

See also comment #6 at this bug report.

Comment 9 Robert Scheck 2007-05-30 22:20:22 UTC
Ping?

Comment 10 Robert Scheck 2007-06-10 22:02:18 UTC
I'm assuming this bug isn't also fixed in selinux-policy-targeted-2.6.5-2

Comment 11 Daniel Walsh 2007-06-11 14:34:22 UTC
It should be.

Comment 12 Daniel Walsh 2007-06-11 14:36:07 UTC
selinux-policy-2.6.4-13 definitely has the fix.

Comment 13 Daniel Walsh 2007-08-22 14:13:48 UTC
Should be fixed in the current release