Bug 751379

Summary: SELinux is preventing /sbin/ldconfig from 'read' accesses on the directory /home/dzamirski/.local/share/evolution.
Product: [Fedora] Fedora Reporter: Dawid Zamirski <dzrudy>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA 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:43af3a9bfc1b41fedbd7061cffa7c10ae25f523c0c9c9bb36e97ef1a47a0d84c
Fixed In Version: selinux-policy-3.10.0-55.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-10 17:30:53 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 Dawid Zamirski 2011-11-04 14:38:57 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.x86_64
reason:         SELinux is preventing /sbin/ldconfig from 'read' accesses on the directory /home/dzamirski/.local/share/evolution.
time:           Fri Nov  4 10:38:47 2011

description:
:SELinux is preventing /sbin/ldconfig from 'read' accesses on the directory /home/dzamirski/.local/share/evolution.
:
:*****  Plugin catchall (50.5 confidence) suggests  ***************************
:
:If you believe that ldconfig should be allowed read access on the evolution 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 ldconfig /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:*****  Plugin leaks (50.5 confidence) suggests  ******************************
:
:If you want to ignore ldconfig trying to read access the evolution directory, because you believe it should not need this access.
:Then you should report this as a bug.  
:You can generate a local policy module to dontaudit this access.
:Do
:# grep /sbin/ldconfig /var/log/audit/audit.log | audit2allow -D -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:system_r:ldconfig_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:data_home_t:s0
:Target Objects                /home/dzamirski/.local/share/evolution [ dir ]
:Source                        ldconfig
:Source Path                   /sbin/ldconfig
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           glibc-2.14.90-14
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-46.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-7.fc16.x86_64 #1 SMP Tue Nov
:                              1 21:10:48 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 04 Nov 2011 10:38:10 AM EDT
:Last Seen                     Fri 04 Nov 2011 10:38:10 AM EDT
:Local ID                      97db08ac-6224-4767-8dd2-139ab776e471
:
:Raw Audit Messages
:type=AVC msg=audit(1320417490.411:206): avc:  denied  { read } for  pid=9530 comm="ldconfig" path="/home/dzamirski/.local/share/evolution" dev=dm-7 ino=28968139 scontext=unconfined_u:system_r:ldconfig_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:data_home_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1320417490.411:206): avc:  denied  { read } for  pid=9530 comm="ldconfig" path="/home/dzamirski/.local/share/evolution" dev=dm-7 ino=28968139 scontext=unconfined_u:system_r:ldconfig_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:data_home_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1320417490.411:206): arch=x86_64 syscall=execve success=yes exit=0 a0=3584718 a1=4191040 a2=7fff04acb950 a3=7f7848e909d0 items=0 ppid=5480 pid=9530 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=2 comm=ldconfig exe=/sbin/ldconfig subj=unconfined_u:system_r:ldconfig_t:s0-s0:c0.c1023 key=(null)
:
:Hash: ldconfig,ldconfig_t,data_home_t,dir,read
:
:audit2allow
:
:#============= ldconfig_t ==============
:allow ldconfig_t data_home_t:dir read;
:
:audit2allow -R
:
:#============= ldconfig_t ==============
:allow ldconfig_t data_home_t:dir read;
:

Comment 1 Daniel Walsh 2011-11-04 17:56:46 UTC
You can ignore this for now.  

Fixed in selinux-policy-3.10.0-53.fc16

Comment 2 Fedora Update System 2011-11-08 14:06:14 UTC
selinux-policy-3.10.0-55.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-55.fc16

Comment 3 Fedora Update System 2011-11-10 17:30:53 UTC
selinux-policy-3.10.0-55.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.