Bug 1418674 - SELinux is preventing /usr/libexec/sssd/sssd_be from using the 'setpgid' accesses on a process.
Summary: SELinux is preventing /usr/libexec/sssd/sssd_be from using the 'setpgid' acce...
Keywords:
Status: CLOSED DUPLICATE of bug 1411437
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:931d77db4d4edc4577ba6de6ca1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-02 13:44 UTC by Stephen Gallagher
Modified: 2017-02-02 14:14 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-02 13:47:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2017-02-02 13:44:19 UTC
Description of problem:
SELinux is preventing /usr/libexec/sssd/sssd_be from using the 'setpgid' accesses on a process.

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

If you believe that sssd_be should be allowed setpgid access on processes labeled sssd_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:
# ausearch -c 'sssd_be' --raw | audit2allow -M my-sssdbe
# semodule -X 300 -i my-sssdbe.pp

Additional Information:
Source Context                system_u:system_r:sssd_t:s0
Target Context                system_u:system_r:sssd_t:s0
Target Objects                Unknown [ process ]
Source                        sssd_be
Source Path                   /usr/libexec/sssd/sssd_be
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           sssd-common-1.15.0-1.fc26.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-235.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.10.0-0.rc6.git0.1.fc26.x86_64 #1
                              SMP Mon Jan 30 14:41:19 UTC 2017 x86_64 x86_64
Alert Count                   2
First Seen                    2017-02-01 19:37:31 EST
Last Seen                     2017-02-02 06:31:25 EST
Local ID                      10d3179e-237f-4576-90cf-32e35710bd5d

Raw Audit Messages
type=AVC msg=audit(1486035085.411:113): avc:  denied  { setpgid } for  pid=1558 comm="sssd_be" scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:sssd_t:s0 tclass=process permissive=1


type=SYSCALL msg=audit(1486035085.411:113): arch=x86_64 syscall=setpgid success=yes exit=0 a0=616 a1=616 a2=0 a3=556d9d0018a0 items=0 ppid=1505 pid=1558 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sssd_be exe=/usr/libexec/sssd/sssd_be subj=system_u:system_r:sssd_t:s0 key=(null)

Hash: sssd_be,sssd_t,sssd_t,process,setpgid

Version-Release number of selected component:
selinux-policy-3.13.1-235.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.0
hashmarkername: setroubleshoot
kernel:         4.10.0-0.rc6.git0.1.fc26.x86_64
type:           libreport

Comment 1 Lukas Slebodnik 2017-02-02 13:47:58 UTC

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

Comment 2 Lukas Slebodnik 2017-02-02 14:14:42 UTC
Should be fixed in selinux-policy-3.13.1-236.fc26.noarch


Note You need to log in before you can comment on or make changes to this bug.