Bug 741755 - SELinux is preventing /bin/ls from 'execute_no_trans' accesses on the plik /bin/ls.
Summary: SELinux is preventing /bin/ls from 'execute_no_trans' accesses on the plik /b...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:6a64410732c...
: 741757 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-27 20:03 UTC by doctore
Modified: 2012-01-17 20:25 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.16-50.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-17 20:25:30 UTC
Type: ---


Attachments (Terms of Use)

Description doctore 2011-09-27 20:03:35 UTC
SELinux is preventing /bin/ls from 'execute_no_trans' accesses on the plik /bin/ls.

*****  Plugin catchall (100. confidence) suggests  ***************************

If aby ls powinno mieć domyślnie execute_no_trans dostęp do ls file.
Then proszę to zgłosić jako błąd.
Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp.
Do
można tymczasowo zezwolić na ten dostęp wykonując polecenia:
# grep ls /var/log/audit/audit.log | audit2allow -M moja_polityka
# semodule -i moja_polityka.pp

Additional Information:
Source Context                system_u:system_r:colord_t:s0-s0:c0.c1023
Target Context                system_u:object_r:bin_t:s0
Target Objects                /bin/ls [ file ]
Source                        ls
Source Path                   /bin/ls
Port                          <Nieznane>
Host                          (removed)
Source RPM Packages           coreutils-8.10-2.fc15
Target RPM Packages           coreutils-8.10-2.fc15
Policy RPM                    selinux-policy-3.9.16-38.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.40.4-5.fc15.x86_64 #1 SMP
                              Tue Aug 30 14:38:32 UTC 2011 x86_64 x86_64
Alert Count                   25
First Seen                    śro, 27 lip 2011, 18:27:33
Last Seen                     wto, 27 wrz 2011, 21:56:32
Local ID                      5e661de1-1626-49a4-8bd4-a6ab71055b03

Raw Audit Messages
type=AVC msg=audit(1317153392.532:32): avc:  denied  { execute_no_trans } for  pid=1188 comm="sh" path="/bin/ls" dev=dm-1 ino=5599 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bin_t:s0 tclass=file


type=SYSCALL msg=audit(1317153392.532:32): arch=x86_64 syscall=execve success=yes exit=0 a0=c33820 a1=c33c20 a2=c32a10 a3=0 items=0 ppid=1187 pid=1188 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ls exe=/bin/ls subj=system_u:system_r:colord_t:s0-s0:c0.c1023 key=(null)

Hash: ls,colord_t,bin_t,file,execute_no_trans

audit2allow

#============= colord_t ==============
allow colord_t bin_t:file execute_no_trans;

audit2allow -R

#============= colord_t ==============
allow colord_t bin_t:file execute_no_trans;

Comment 1 Daniel Walsh 2011-09-28 14:47:47 UTC
*** Bug 741757 has been marked as a duplicate of this bug. ***

Comment 2 Daniel Walsh 2011-11-21 16:40:26 UTC
Seems like this is in selinux-policy-3.9.16-46.fc15

Comment 3 Fedora Update System 2011-12-14 13:39:58 UTC
selinux-policy-3.9.16-50.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-50.fc15

Comment 4 Fedora Update System 2011-12-14 23:29:55 UTC
Package selinux-policy-3.9.16-50.fc15:
* should fix your issue,
* was pushed to the Fedora 15 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.9.16-50.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17089/selinux-policy-3.9.16-50.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-01-17 20:25:30 UTC
selinux-policy-3.9.16-50.fc15 has been pushed to the Fedora 15 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.