Bug 915372 - SELinux is preventing /usr/libexec/gdm-session-worker from 'entrypoint' accesses on the file /usr/lib64/security/pam_krb5/pam_krb5_cchelper.
Summary: SELinux is preventing /usr/libexec/gdm-session-worker from 'entrypoint' acces...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a9df31f1702e857e1750c72532b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-25 15:37 UTC by Casey Dahlin
Modified: 2014-06-18 08:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-03 22:42:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Casey Dahlin 2013-02-25 15:37:14 UTC
Description of problem:
The alert came as soon as I logged in to the desktop.
SELinux is preventing /usr/libexec/gdm-session-worker from 'entrypoint' accesses on the file /usr/lib64/security/pam_krb5/pam_krb5_cchelper.

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

If you believe that gdm-session-worker should be allowed entrypoint access on the pam_krb5_cchelper file 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 gdm-session-wor /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                staff_u:staff_r:staff_t:s0-s0:c0.c1023
Target Context                system_u:object_r:lib_t:s0
Target Objects                /usr/lib64/security/pam_krb5/pam_krb5_cchelper [
                              file ]
Source                        gdm-session-wor
Source Path                   /usr/libexec/gdm-session-worker
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gdm-3.6.2-5.fc18.x86_64
Target RPM Packages           pam_krb5-2.4.1-1.fc18.x86_64
Policy RPM                    selinux-policy-3.11.1-79.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.9-201.fc18.x86_64 #1 SMP Mon
                              Feb 18 21:07:56 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-02-25 10:34:33 EST
Last Seen                     2013-02-25 10:34:33 EST
Local ID                      28cbee3f-4b55-4967-a800-6c37f5105e6b

Raw Audit Messages
type=AVC msg=audit(1361806473.858:97): avc:  denied  { entrypoint } for  pid=1260 comm="gdm-session-wor" path="/usr/lib64/security/pam_krb5/pam_krb5_cchelper" dev="dm-0" ino=3801106 scontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file


type=SYSCALL msg=audit(1361806473.858:97): arch=x86_64 syscall=execve success=no exit=EACCES a0=f9f1a0 a1=7fffac2ece80 a2=7fffac2f19f8 a3=7f26481267f8 items=0 ppid=1248 pid=1260 auid=11892 uid=11892 gid=11892 euid=11892 suid=11892 fsuid=11892 egid=11892 sgid=11892 fsgid=11892 ses=2 tty=(none) comm=gdm-session-wor exe=/usr/libexec/gdm-session-worker subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: gdm-session-wor,staff_t,lib_t,file,entrypoint

audit2allow

#============= staff_t ==============
allow staff_t lib_t:file entrypoint;

audit2allow -R

#============= staff_t ==============
allow staff_t lib_t:file entrypoint;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.9-201.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-02-25 16:34:43 UTC
Please execute for now

# chcon -t bin_t /usr/lib64/security/pam_krb5/pam_krb5_cchelper

Comment 2 Fedora Update System 2013-03-01 13:05:47 UTC
selinux-policy-3.11.1-82.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-82.fc18

Comment 3 Fedora Update System 2013-03-02 20:15:44 UTC
Package selinux-policy-3.11.1-82.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-82.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3309/selinux-policy-3.11.1-82.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-03-03 22:42:56 UTC
selinux-policy-3.11.1-82.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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