Hide Forgot
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;
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.