Bug 748096 - SELinux is preventing /usr/bin/krb5-auth-dialog from 'lock' accesses on the file /tmp/krb5cc_1000.
Summary: SELinux is preventing /usr/bin/krb5-auth-dialog from 'lock' accesses on the f...
Keywords:
Status: CLOSED DUPLICATE of bug 748085
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d8a588f767013e2b1d7e02e21eb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-22 01:25 UTC by James Cape
Modified: 2011-10-24 05:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-24 05:42:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Cape 2011-10-22 01:25:16 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc10.git0.1.fc16.x86_64
reason:         SELinux is preventing /usr/bin/krb5-auth-dialog from 'lock' accesses on the file /tmp/krb5cc_1000.
time:           Fri Oct 21 20:25:05 2011

description:
:SELinux is preventing /usr/bin/krb5-auth-dialog from 'lock' accesses on the file /tmp/krb5cc_1000.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that krb5-auth-dialog should be allowed lock access on the krb5cc_1000 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 krb5-auth-dialo /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:tmp_t:s0
:Target Objects                /tmp/krb5cc_1000 [ file ]
:Source                        krb5-auth-dialo
:Source Path                   /usr/bin/krb5-auth-dialog
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           krb5-auth-dialog-3.2.1-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-40.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux orwell.ignore-your.tv
:                              3.1.0-0.rc10.git0.1.fc16.x86_64 #1 SMP Wed Oct 19
:                              05:02:17 UTC 2011 x86_64 x86_64
:Alert Count                   2
:First Seen                    Fri 21 Oct 2011 08:21:12 PM CDT
:Last Seen                     Fri 21 Oct 2011 08:23:42 PM CDT
:Local ID                      80987a33-684b-4d97-b94c-210e9ec4ded2
:
:Raw Audit Messages
:type=AVC msg=audit(1319246622.872:440): avc:  denied  { lock } for  pid=4175 comm="krb5-auth-dialo" path="/tmp/krb5cc_1000" dev=dm-1 ino=2033600 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmp_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1319246622.872:440): arch=x86_64 syscall=fcntl success=yes exit=0 a0=c a1=7 a2=7fff433e3550 a3=7f7782df6a00 items=0 ppid=3947 pid=4175 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=krb5-auth-dialo exe=/usr/bin/krb5-auth-dialog subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
:
:Hash: krb5-auth-dialo,xdm_t,tmp_t,file,lock
:
:audit2allow
:
:#============= xdm_t ==============
:allow xdm_t tmp_t:file lock;
:
:audit2allow -R
:
:#============= xdm_t ==============
:allow xdm_t tmp_t:file lock;
:

Comment 1 Miroslav Grepl 2011-10-24 05:42:33 UTC

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


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