Bug 1045768

Summary: SELinux is preventing /usr/libexec/gdm-session-worker from 'entrypoint' accesses on the file /usr/libexec/gdm-simple-slave.
Product: [Fedora] Fedora Reporter: Sylvain Petreolle <spetreolle>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:df8c180c7f16aadeeaf6690d1ebf644cbb1c927073f93da5fd4e2a567c0277dc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 23:13: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:

Description Sylvain Petreolle 2013-12-21 21:19:32 UTC
Description of problem:
SELinux is preventing /usr/libexec/gdm-session-worker from 'entrypoint' accesses on the file /usr/libexec/gdm-simple-slave.

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

If vous pensez que gdm-session-worker devrait être autorisé à accéder entrypoint sur gdm-simple-slave file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
autoriser cet accès pour le moment en exécutant :
# grep gdm-session-wor /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:bin_t:s0
Target Objects                /usr/libexec/gdm-simple-slave [ file ]
Source                        gdm-session-wor
Source Path                   /usr/libexec/gdm-session-worker
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gdm-3.8.4-2.fc19.x86_64
Target RPM Packages           gdm-3.8.4-2.fc19.x86_64
Policy RPM                    selinux-policy-3.12.1-74.14.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.9-200.fc19.x86_64 #1 SMP Wed
                              Nov 20 21:22:24 UTC 2013 x86_64 x86_64
Alert Count                   3
First Seen                    2013-12-07 09:34:07 CET
Last Seen                     2013-12-07 10:22:10 CET
Local ID                      27d1971a-19f7-4705-9e0e-e1c3250214d2

Raw Audit Messages
type=AVC msg=audit(1386408130.5:2334): avc:  denied  { entrypoint } for  pid=19123 comm="gdm" path="/usr/libexec/gdm-simple-slave" dev="dm-1" ino=1358650 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bin_t:s0 tclass=file


type=SYSCALL msg=audit(1386408130.5:2334): arch=x86_64 syscall=execve success=no exit=EACCES a0=7fa8fbfd21b0 a1=7fa8fbfe31e0 a2=7fff1176e078 a3=7fff1176d880 items=0 ppid=809 pid=19123 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=gdm exe=/usr/sbin/gdm subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: gdm-session-wor,xdm_t,bin_t,file,entrypoint

Additional info:
reporter:       libreport-2.1.10
hashmarkername: setroubleshoot
kernel:         3.12.5-302.fc20.x86_64
type:           libreport

Potential duplicate: bug 1032934

Comment 1 Daniel Walsh 2014-01-02 23:13:14 UTC
This should not happen again.

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