| Summary: | SELinux is preventing /usr/bin/ruby from 'execute' accesses on the file /usr/bin/chage. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ameya Sathe <aakreet40-rhce> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:02a14da0986693034e8e733581a5eb60d57c2a5661de438e6ce0b39071788bbe | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-26 10:34:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Please update to the latest policy release. yum update selinux-policy-targeted --enablerepo=updates-testing Updated to the latest policy release. I am no longer seeing the above error. |
SELinux is preventing /usr/bin/ruby from 'execute' accesses on the file /usr/bin/chage. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that ruby should be allowed execute access on the chage 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 puppetmasterd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:puppetmaster_t:s0 Target Context system_u:object_r:passwd_exec_t:s0 Target Objects /usr/bin/chage [ file ] Source puppetmasterd Source Path /usr/bin/ruby Port <अपरिचित> Host (removed) Source RPM Packages ruby-1.8.7.352-1.fc15 Target RPM Packages shadow-utils-4.1.4.2-13.fc15 Policy RPM selinux-policy-3.9.16-39.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.40.6-0.fc15.x86_64 #1 SMP Tue Oct 4 00:39:50 UTC 2011 x86_64 x86_64 Alert Count 20 First Seen रविवार 06 नोव्हेंबर 2011 01:01:17 म.नं. IST Last Seen रविवार 06 नोव्हेंबर 2011 01:06:11 म.नं. IST Local ID 667df114-71fd-43e1-aa32-efe077566457 Raw Audit Messages type=AVC msg=audit(1320564971.197:123): avc: denied { execute } for pid=3126 comm="puppetmasterd" name="chage" dev=dm-1 ino=7409 scontext=system_u:system_r:puppetmaster_t:s0 tcontext=system_u:object_r:passwd_exec_t:s0 tclass=file type=SYSCALL msg=audit(1320564971.197:123): arch=x86_64 syscall=access success=no exit=EACCES a0=2a93e60 a1=1 a2=0 a3=2 items=0 ppid=3125 pid=3126 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=puppetmasterd exe=/usr/bin/ruby subj=system_u:system_r:puppetmaster_t:s0 key=(null) Hash: puppetmasterd,puppetmaster_t,passwd_exec_t,file,execute audit2allow #============= puppetmaster_t ============== allow puppetmaster_t passwd_exec_t:file execute; audit2allow -R #============= puppetmaster_t ============== allow puppetmaster_t passwd_exec_t:file execute;