Bug 770316 - SELinux is preventing /bin/bash from 'read' accesses on the file /usr/lib/locale/locale-archive.
Summary: SELinux is preventing /bin/bash from 'read' accesses on the file /usr/lib/loc...
Keywords:
Status: CLOSED DUPLICATE of bug 770148
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:20ea580d88602b1caa90e08c910...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-26 00:55 UTC by Devon Janitz
Modified: 2011-12-26 22:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-26 22:40:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Devon Janitz 2011-12-26 00:55:29 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.6-1.fc16.x86_64
reason:         SELinux is preventing /bin/bash from 'read' accesses on the file /usr/lib/locale/locale-archive.
time:           Sun 25 Dec 2011 07:55:15 PM EST

description:
:SELinux is preventing /bin/bash from 'read' accesses on the file /usr/lib/locale/locale-archive.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that bash should be allowed read access on the locale-archive 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 sh /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:boinc_t:s0
:Target Context                system_u:object_r:locale_t:s0
:Target Objects                /usr/lib/locale/locale-archive [ file ]
:Source                        sh
:Source Path                   /bin/bash
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           bash-4.2.20-1.fc16
:Target RPM Packages           glibc-common-2.14.90-21
:Policy RPM                    selinux-policy-3.10.0-67.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.6-1.fc16.x86_64 #1
:                              SMP Wed Dec 21 22:41:17 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Sun 25 Dec 2011 07:50:47 PM EST
:Last Seen                     Sun 25 Dec 2011 07:50:47 PM EST
:Local ID                      f66bef91-3dd0-4ea3-87f0-9fa96986e5be
:
:Raw Audit Messages
:type=AVC msg=audit(1324860647.617:77): avc:  denied  { read } for  pid=2214 comm="sh" name="locale-archive" dev=dm-1 ino=1854151 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=file
:
:
:type=AVC msg=audit(1324860647.617:77): avc:  denied  { open } for  pid=2214 comm="sh" name="locale-archive" dev=dm-1 ino=1854151 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1324860647.617:77): arch=x86_64 syscall=open success=yes exit=EINTR a0=3e26b78230 a1=0 a2=3e26db0be0 a3=3e26a881d0 items=0 ppid=2209 pid=2214 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=sh exe=/bin/bash subj=system_u:system_r:boinc_t:s0 key=(null)
:
:Hash: sh,boinc_t,locale_t,file,read
:
:audit2allow
:
:#============= boinc_t ==============
:allow boinc_t locale_t:file { read open };
:
:audit2allow -R
:
:#============= boinc_t ==============
:allow boinc_t locale_t:file { read open };
:

Comment 1 Miroslav Grepl 2011-12-26 22:40:24 UTC

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


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