| Summary: | SELinux is preventing /bin/bash from 'execute' accesses on the file /bin/systemctl. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sandro Mathys <sandro> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:867ff1de86e7271d7c4035a8776cc5bdb1a27ffbf45f8dc4ab85a05d1f26aeb1 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-13 18:29:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 696264 *** |
SELinux is preventing /bin/bash from 'execute' accesses on the file /bin/systemctl. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bash should be allowed execute access on the systemctl 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 prelink /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:prelink_cron_system_t:s0-s0:c0.c 1023 Target Context system_u:object_r:systemd_systemctl_exec_t:s0 Target Objects /bin/systemctl [ file ] Source prelink Source Path /bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.2.8-2.fc15 Target RPM Packages systemd-units-24-1.fc15 Policy RPM selinux-policy-3.9.16-14.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar 30 16:55:57 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Wed 13 Apr 2011 07:53:42 PM CEST Last Seen Wed 13 Apr 2011 07:53:42 PM CEST Local ID ffb42eca-1cf0-48c2-a0af-aa4130a6a15b Raw Audit Messages type=AVC msg=audit(1302717222.778:131): avc: denied { execute } for pid=9756 comm="prelink" name="systemctl" dev=dm-2 ino=39612 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_systemctl_exec_t:s0 tclass=file type=SYSCALL msg=audit(1302717222.778:131): arch=x86_64 syscall=execve success=no exit=EACCES a0=18be040 a1=18bef30 a2=18bdd70 a3=8 items=0 ppid=7921 pid=9756 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm=prelink exe=/bin/bash subj=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 key=(null) Hash: prelink,prelink_cron_system_t,systemd_systemctl_exec_t,file,execute audit2allow #============= prelink_cron_system_t ============== allow prelink_cron_system_t systemd_systemctl_exec_t:file execute; audit2allow -R #============= prelink_cron_system_t ============== allow prelink_cron_system_t systemd_systemctl_exec_t:file execute;