Bug 753587 - SELinux is preventing /bin/bash from 'read' accesses on the archivo /bin/bash.
Summary: SELinux is preventing /bin/bash from 'read' accesses on the archivo /bin/bash.
Keywords:
Status: CLOSED ERRATA
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:526cdec5c338a9c323702cb9f75...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-13 16:29 UTC by Juan
Modified: 2011-12-21 16:06 UTC (History)
16 users (show)

Fixed In Version: selinux-policy-3.10.0-56.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-21 00:01:01 UTC
Type: ---


Attachments (Terms of Use)

Description Juan 2011-11-13 16:29:36 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.local.fc16.x86_64
reason:         SELinux is preventing /bin/bash from 'read' accesses on the archivo /bin/bash.
time:           Sun Nov 13 17:29:21 2011

description:
:SELinux is preventing /bin/bash from 'read' accesses on the archivo /bin/bash.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that bash should be allowed read access on the bash 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 mysqld_safe /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:mysqld_safe_t:s0
:Target Context                system_u:object_r:shell_exec_t:s0
:Target Objects                /bin/bash [ file ]
:Source                        mysqld_safe
:Source Path                   /bin/bash
:Port                          <Desconocido>
:Host                          (removed)
:Source RPM Packages           bash-4.2.10-5.fc16
:Target RPM Packages           bash-4.2.10-5.fc16
:Policy RPM                    selinux-policy-3.10.0-55.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-7.local.fc16.x86_64
:                              #1 SMP PREEMPT Sat Nov 12 22:59:29 CET 2011 x86_64
:                              x86_64
:Alert Count                   18
:First Seen                    dom 13 nov 2011 17:26:29 CET
:Last Seen                     dom 13 nov 2011 17:28:39 CET
:Local ID                      91de8f33-36a1-4e61-ba0c-d7826ea2b0a7
:
:Raw Audit Messages
:type=AVC msg=audit(1321201719.86:528): avc:  denied  { read } for  pid=22779 comm="mysqld_safe" path="/bin/bash" dev=md1 ino=49807393 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1321201719.86:528): arch=x86_64 syscall=mprotect success=no exit=EACCES a0=6d9000 a1=1000 a2=1 a3=41ad20 items=0 ppid=1 pid=22779 auid=4294967295 uid=27 gid=27 euid=27 suid=27 fsuid=27 egid=27 sgid=27 fsgid=27 tty=(none) ses=4294967295 comm=mysqld_safe exe=/bin/bash subj=system_u:system_r:mysqld_safe_t:s0 key=(null)
:
:Hash: mysqld_safe,mysqld_safe_t,shell_exec_t,file,read
:
:audit2allow
:
:#============= mysqld_safe_t ==============
:allow mysqld_safe_t shell_exec_t:file read;
:
:audit2allow -R
:
:#============= mysqld_safe_t ==============
:allow mysqld_safe_t shell_exec_t:file read;
:

Comment 1 Miroslav Grepl 2011-11-14 11:49:02 UTC
Fixed in selinux-policy-3.10.0-56.fc16

Comment 2 Patryk Zawadzki 2011-11-15 12:02:12 UTC
Any idea on when -56 is going to be send to builders?

Comment 3 Tobias Florek 2011-11-16 14:02:21 UTC
yeah. that should happen...

Comment 4 Miroslav Grepl 2011-11-16 14:08:09 UTC
Yes, today.

Comment 5 Fedora Update System 2011-11-16 15:23:10 UTC
selinux-policy-3.10.0-56.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-56.fc16

Comment 6 Fedora Update System 2011-11-17 23:30:53 UTC
Package selinux-policy-3.10.0-56.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-56.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16003/selinux-policy-3.10.0-56.fc16
then log in and leave karma (feedback).

Comment 7 Stan King 2011-11-18 06:50:00 UTC
Package selinux-policy-3.10.0-56.fc16 seems to fix the problem for me.  Thank you.

Comment 8 Daniel Walsh 2011-11-18 14:47:30 UTC
Please update karma

Comment 9 Stan King 2011-11-18 16:41:40 UTC
Whoops, I didn't see the link.  Karma has been duly given.

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


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