| Summary: | SELinux is preventing /bin/bash from 'execute_no_trans' accesses on the file /usr/lib/virtualbox/VBoxManage. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mattia Verga <mattia.verga> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:aa4c9cb67d802b835e64728a4791ea51645c20e3ff2cc621643d1e8796844c53 | ||
| Fixed In Version: | selinux-policy-3.10.0-61.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-30 02:01:19 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
If you execute # chcon -t bin_t /usr/lib/virtualbox/VBoxManage does it work? I've previously followed the steps suggested to create a local policy module and didn't received the error anymore. Should I revert the local policy before trying the command you required? If yes, how? No, you don't need to revert the local policy. Just try the command. I issued the command, no output in response. As I said, after having applied the local policy I didn't see the error anymore, so I can't say if the command you suggested works or not... I also don't know how to reproduce the error: I got it after installing VBox, but even before launch it for the first time, so it was triggered by some background process, I think. Feel free to close the bug, since I can't reproduce it anymore. Thank you for your support. Fixed in selinux-policy-3.10.0-57.fc16 selinux-policy-3.10.0-59.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-59.fc16 Package selinux-policy-3.10.0-60.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-60.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16371/selinux-policy-3.10.0-60.fc16 then log in and leave karma (feedback). Package selinux-policy-3.10.0-61.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-61.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16371/selinux-policy-3.10.0-61.fc16 then log in and leave karma (feedback). selinux-policy-3.10.0-61.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.1-1.fc16.x86_64 reason: SELinux is preventing /bin/bash from 'execute_no_trans' accesses on the file /usr/lib/virtualbox/VBoxManage. time: Tue Nov 15 20:27:38 2011 description: :SELinux is preventing /bin/bash from 'execute_no_trans' accesses on the file /usr/lib/virtualbox/VBoxManage. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that bash should be allowed execute_no_trans access on the VBoxManage 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:lib_t:s0 :Target Objects /usr/lib/virtualbox/VBoxManage [ file ] :Source sh :Source Path /bin/bash :Port <Sconosciuto> :Host (removed) :Source RPM Packages bash-4.2.10-5.fc16 :Target RPM Packages VirtualBox-4.1-4.1.6_74713_fedora16-1 :Policy RPM selinux-policy-3.10.0-55.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux Betelgeuse 3.1.1-1.fc16.x86_64 #1 SMP Fri : Nov 11 21:47:56 UTC 2011 x86_64 x86_64 :Alert Count 3 :First Seen mar 15 nov 2011 18:59:29 CET :Last Seen mar 15 nov 2011 20:04:16 CET :Local ID c2939e40-088c-4b89-afb7-f24731b7ddf1 : :Raw Audit Messages :type=AVC msg=audit(1321383856.198:161): avc: denied { execute_no_trans } for pid=16925 comm="sh" path="/usr/lib/virtualbox/VBoxManage" dev=dm-0 ino=2501878 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file : : :type=SYSCALL msg=audit(1321383856.198:161): arch=x86_64 syscall=execve success=no exit=EACCES a0=20dfeb0 a1=20df230 a2=20dee70 a3=8 items=0 ppid=1171 pid=16925 auid=4294967295 uid=994 gid=988 euid=994 suid=994 fsuid=994 egid=988 sgid=988 fsgid=988 tty=(none) ses=4294967295 comm=sh exe=/bin/bash subj=system_u:system_r:boinc_t:s0 key=(null) : :Hash: sh,boinc_t,lib_t,file,execute_no_trans : :audit2allow : :#============= boinc_t ============== :#!!!! This avc is allowed in the current policy : :allow boinc_t lib_t:file execute_no_trans; : :audit2allow -R : :#============= boinc_t ============== :#!!!! This avc is allowed in the current policy : :allow boinc_t lib_t:file execute_no_trans; :