Bug 1230729

Summary: SELinux is preventing /usr/sbin/winbindd from using the 'signull' accesses on a process.
Product: [Fedora] Fedora Reporter: Brian J. Murrell <brian.murrell>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:9111b340772820776b3a986db8227dacb5aa2aa4e5c6b4e44060bc1511df60e1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-17 12:26:36 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 Brian J. Murrell 2015-06-11 13:03:14 UTC
Description of problem:
SELinux is preventing /usr/sbin/winbindd from using the 'signull' accesses on a process.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that winbindd should be allowed signull access on processes labeled NetworkManager_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep winbindd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:winbind_t:s0
Target Context                system_u:system_r:NetworkManager_t:s0
Target Objects                Unknown [ process ]
Source                        winbindd
Source Path                   /usr/sbin/winbindd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           samba-winbind-4.1.17-1.x.fc21.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-105.13.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.19.5-200.fc21.x86_64 #1 SMP Mon
                              Apr 20 19:51:56 UTC 2015 x86_64 x86_64
Alert Count                   3
First Seen                    2015-06-09 14:06:02 EDT
Last Seen                     2015-06-09 14:06:02 EDT
Local ID                      b9463c24-0378-460b-b231-7af618e586bc

Raw Audit Messages
type=AVC msg=audit(1433873162.223:151180): avc:  denied  { signull } for  pid=22172 comm="winbindd" scontext=system_u:system_r:winbind_t:s0 tcontext=system_u:system_r:NetworkManager_t:s0 tclass=process permissive=0


type=SYSCALL msg=audit(1433873162.223:151180): arch=x86_64 syscall=kill success=no exit=EACCES a0=178d a1=0 a2=0 a3=54203d20656e696c items=0 ppid=22164 pid=22172 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=winbindd exe=/usr/sbin/winbindd subj=system_u:system_r:winbind_t:s0 key=(null)

Hash: winbindd,winbind_t,NetworkManager_t,process,signull

Version-Release number of selected component:
selinux-policy-3.13.1-105.13.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         3.19.5-200.fc21.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2015-06-17 12:26:36 UTC

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