Bug 733702

Summary: SELinux is preventing /lib/udev/iphone-set-info from 'search' accesses on the directory /root/.config.
Product: [Fedora] Fedora Reporter: dario <dario.soto>
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:74ab4beb9aa76daa83f7bf6160b5696289725ddb1c8a4e89a0f59b1584ac9532
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-26 18:00:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dario 2011-08-26 14:37:57 UTC
abrt version: 2.0.5
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.0.0-1.fc16.x86_64
reason:         SELinux is preventing /lib/udev/iphone-set-info from 'search' accesses on the directory /root/.config.
time:           Fri Aug 26 10:03:16 2011

description:
:SELinux is preventing /lib/udev/iphone-set-info from 'search' accesses on the directory /root/.config.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/root/.config default label should be config_home_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /root/.config
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that iphone-set-info should be allowed search access on the .config directory 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 iphone-set-info /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:udev_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:gconf_home_t:s0
:Target Objects                /root/.config [ dir ]
:Source                        iphone-set-info
:Source Path                   /lib/udev/iphone-set-info
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           libgpod-0.8.2-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-15.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux uc.inavi.z 3.0.0-1.fc16.x86_64 #1 SMP Fri
:                              Jul 22 16:09:29 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 26 Aug 2011 09:24:42 AM VET
:Last Seen                     Fri 26 Aug 2011 09:24:42 AM VET
:Local ID                      ca05db30-e05f-4847-abb2-2a2ef535ee04
:
:Raw Audit Messages
:type=AVC msg=audit(1314366882.384:92): avc:  denied  { search } for  pid=7063 comm="iphone-set-info" name=".config" dev=sda8 ino=155691 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:gconf_home_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1314366882.384:92): arch=x86_64 syscall=open success=no exit=ENOENT a0=d3cf20 a1=0 a2=0 a3=1 items=0 ppid=1 pid=7063 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=iphone-set-info exe=/lib/udev/iphone-set-info subj=system_u:system_r:udev_t:s0-s0:c0.c1023 key=(null)
:
:Hash: iphone-set-info,udev_t,gconf_home_t,dir,search
:
:audit2allow
:
:#============= udev_t ==============
:allow udev_t gconf_home_t:dir search;
:
:audit2allow -R
:
:#============= udev_t ==============
:allow udev_t gconf_home_t:dir search;
:

Comment 1 Daniel Walsh 2011-08-26 18:00:39 UTC

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