Bug 748107 - SELinux is preventing /sbin/ldconfig from 'execute' accesses on the file /sbin/ldconfig.
Summary: SELinux is preventing /sbin/ldconfig from 'execute' accesses on the file /sbi...
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:e0e218d6ba07f5a82abd562934c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-22 01:29 UTC by James Cape
Modified: 2011-10-24 05:47 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-10-24 05:47:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Cape 2011-10-22 01:29:10 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 /sbin/ldconfig from 'execute' accesses on the file /sbin/ldconfig.
time:           Fri Oct 21 20:29:01 2011

description:
:SELinux is preventing /sbin/ldconfig from 'execute' accesses on the file /sbin/ldconfig.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that ldconfig should be allowed execute access on the ldconfig 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 ldconfig /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:ldconfig_exec_t:s0
:Target Objects                /sbin/ldconfig [ file ]
:Source                        ldconfig
:Source Path                   /sbin/ldconfig
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           glibc-2.14.90-13
:Target RPM Packages           glibc-2.14.90-13
: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:24:21 PM CDT
:Last Seen                     Fri 21 Oct 2011 08:24:21 PM CDT
:Local ID                      242ab457-23f2-4ef6-9940-0f7da5bbc29d
:
:Raw Audit Messages
:type=AVC msg=audit(1319246661.862:455): avc:  denied  { execute } for  pid=4958 comm="sh" name="ldconfig" dev=dm-1 ino=1941322 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file
:
:
:type=AVC msg=audit(1319246661.862:455): avc:  denied  { read open } for  pid=4958 comm="sh" name="ldconfig" dev=dm-1 ino=1941322 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file
:
:
:type=AVC msg=audit(1319246661.862:455): avc:  denied  { execute_no_trans } for  pid=4958 comm="sh" path="/sbin/ldconfig" dev=dm-1 ino=1941322 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1319246661.862:455): arch=x86_64 syscall=execve success=yes exit=0 a0=14a71d0 a1=14a72d0 a2=14a5b90 a3=7fffebeaa380 items=0 ppid=4957 pid=4958 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=ldconfig exe=/sbin/ldconfig subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
:
:Hash: ldconfig,xdm_t,ldconfig_exec_t,file,execute
:
:audit2allow
:
:#============= xdm_t ==============
:allow xdm_t ldconfig_exec_t:file { read execute open execute_no_trans };
:
:audit2allow -R
:
:#============= xdm_t ==============
:allow xdm_t ldconfig_exec_t:file { read execute open execute_no_trans };
:

Comment 1 Miroslav Grepl 2011-10-24 05:47:44 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.