Bug 1173477
Summary: | SELinux is preventing /usr/bin/bash from execute_no_trans access on the file /usr/lib64/ld-2.17.so. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Slawomir Czarko <slawomir> |
Component: | icecream | Assignee: | Michal Schmidt <mschmidt> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | mschmidt |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | icecream-1.0.1-11.20140822git.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-03 18:58:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Slawomir Czarko
2014-12-12 08:52:31 UTC
Did this start appearing recently after updating the icecream package? What version of icecream is this? When does this appear? During iceccd startup? Or when trying to build a project using iceccd? Or when iceccd processes build requests from other machines? I see comm is "ldd". Only icecc-create-env should run ldd. But that's supposed to run under context iceccd_createenv_t, not iceccd_t. The problem is icecc-create-env was moved from /usr/libexec to /usr/bin, but the policy was not changed and the script is now mislabeled. I'll fix this. Yes, it started happening recently, maybe few weeks ago. icecream-1.0.1-9.20140822git.fc19.x86_64 It happens first time I run g++ for a local build. After that it won't happen until system is rebooted. *** Bug 1173522 has been marked as a duplicate of this bug. *** *** Bug 1173523 has been marked as a duplicate of this bug. *** *** Bug 1173525 has been marked as a duplicate of this bug. *** Installing the 64-bit RPM from koji (comment 7) results in another SELinux message. SELinux is preventing /usr/bin/bash from read access on the file meminfo. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bash should be allowed read access on the meminfo 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 icecc-scheduler /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:icecc_scheduler_t:s0 Target Context system_u:object_r:proc_t:s0 Target Objects meminfo [ file ] Source icecc-scheduler Source Path /usr/bin/bash Port <Unknown> Host gaia.garous.net Source RPM Packages bash-4.2.53-1.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-74.26.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name gaia.garous.net Platform Linux gaia.garous.net 3.14.23-100.fc19.x86_64 #1 SMP Thu Oct 30 18:36:00 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-12-12 14:49:44 CET Last Seen 2014-12-12 14:49:44 CET Local ID 86425b1a-6dc9-4d97-8710-db2f6da3596b Raw Audit Messages type=AVC msg=audit(1418392184.360:645): avc: denied { read } for pid=6252 comm="icecc-scheduler" name="meminfo" dev="proc" ino=4026531987 scontext=system_u:system_r:icecc_scheduler_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file type=SYSCALL msg=audit(1418392184.360:645): arch=x86_64 syscall=open success=no exit=EACCES a0=3b9397c26e a1=80000 a2=1b6 a3=0 items=0 ppid=1 pid=6252 auid=4294967295 uid=988 gid=985 euid=988 suid=988 fsuid=988 egid=985 sgid=985 fsgid=985 tty=(none) ses=4294967295 comm=icecc-scheduler exe=/usr/bin/bash subj=system_u:system_r:icecc_scheduler_t:s0 key=(null) Hash: icecc-scheduler,icecc_scheduler_t,proc_t,file,read Thank you for testing. This should fix it: http://pkgs.fedoraproject.org/cgit/icecream.git/commit/?id=d7dd36b9abf955bef2a21e242f7b814998b9e206 Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=8361544 icecream-1.0.1-11.20140822git.fc19.x86_64 install OK and so far no SELinux messages when running g++. icecream-1.0.1-11.20140822git.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/icecream-1.0.1-11.20140822git.fc21 icecream-1.0.1-11.20140822git.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/icecream-1.0.1-11.20140822git.fc20 icecream-1.0.1-11.20140822git.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/icecream-1.0.1-11.20140822git.fc19 Package icecream-1.0.1-11.20140822git.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing icecream-1.0.1-11.20140822git.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-16978/icecream-1.0.1-11.20140822git.fc19 then log in and leave karma (feedback). icecream-1.0.1-11.20140822git.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. icecream-1.0.1-11.20140822git.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. icecream-1.0.1-11.20140822git.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |