Bug 748088

Summary: SELinux is preventing /usr/bin/gnome-keyring-daemon from 'rename' accesses on the file .temp-F3KX3V.
Product: [Fedora] Fedora Reporter: James Cape <jamescape777>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:68b280e5aaab7b39363b7a538148e09e94ac18ec357721294c080bd9c365cd42
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-24 05:40:04 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 James Cape 2011-10-22 01:21:53 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/gnome-keyring-daemon from 'rename' accesses on the file .temp-F3KX3V.
time:           Fri Oct 21 20:21:44 2011

description:
:SELinux is preventing /usr/bin/gnome-keyring-daemon from 'rename' accesses on the file .temp-F3KX3V.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that gnome-keyring-daemon should be allowed rename access on the .temp-F3KX3V 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 gnome-keyring-d /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:gkeyringd_gnome_home_t:s0
:Target Objects                .temp-F3KX3V [ file ]
:Source                        gnome-keyring-d
:Source Path                   /usr/bin/gnome-keyring-daemon
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           gnome-keyring-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                   1
:First Seen                    Fri 21 Oct 2011 08:20:50 PM CDT
:Last Seen                     Fri 21 Oct 2011 08:20:50 PM CDT
:Local ID                      2c7eb189-dd04-48b7-b490-97b23e78c934
:
:Raw Audit Messages
:type=AVC msg=audit(1319246450.357:396): avc:  denied  { rename } for  pid=4108 comm="gnome-keyring-d" name=".temp-F3KX3V" dev=dm-1 ino=2056920 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:gkeyringd_gnome_home_t:s0 tclass=file
:
:
:type=AVC msg=audit(1319246450.357:396): avc:  denied  { unlink } for  pid=4108 comm="gnome-keyring-d" name="login.keyring" dev=dm-1 ino=2056773 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:gkeyringd_gnome_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1319246450.357:396): arch=x86_64 syscall=rename success=yes exit=0 a0=2169320 a1=21365e0 a2=0 a3=fffffff8 items=0 ppid=1 pid=4108 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=gnome-keyring-d exe=/usr/bin/gnome-keyring-daemon subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
:
:Hash: gnome-keyring-d,xdm_t,gkeyringd_gnome_home_t,file,rename
:
:audit2allow
:
:#============= xdm_t ==============
:allow xdm_t gkeyringd_gnome_home_t:file { rename unlink };
:
:audit2allow -R
:
:#============= xdm_t ==============
:allow xdm_t gkeyringd_gnome_home_t:file { rename unlink };
:

Comment 1 Miroslav Grepl 2011-10-24 05:40:04 UTC

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