Hide Forgot
SELinux is preventing /bin/bash from 'getattr' accesses on the file /sbin/consoletype. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bash should be allowed getattr access on the consoletype 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 service /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 Target Context system_u:object_r:consoletype_exec_t:s0 Target Objects /sbin/consoletype [ file ] Source service Source Path /bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.1.9-5.fc15 Target RPM Packages initscripts-9.23-3.fc15 Policy RPM selinux-policy-3.9.12-6.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.37-2.fc15.x86_64 #1 SMP Fri Jan 7 14:57:36 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen Sat 15 Jan 2011 07:13:20 PM EST Last Seen Sat 15 Jan 2011 07:13:20 PM EST Local ID d97a2957-0a57-4711-9417-0fcf4bbccd4e Raw Audit Messages type=AVC msg=audit(1295136800.218:96): avc: denied { getattr } for pid=5523 comm="service" path="/sbin/consoletype" dev=dm-0 ino=23025 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:consoletype_exec_t:s0 tclass=file type=SYSCALL msg=audit(1295136800.218:96): arch=x86_64 syscall=stat success=no exit=EACCES a0=1126ee0 a1=7fff7ef7da70 a2=7fff7ef7da70 a3=7fff7ef7d8a0 items=0 ppid=5522 pid=5523 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=service exe=/bin/bash subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null) Hash: service,gnomeclock_t,consoletype_exec_t,file,getattr audit2allow #============= gnomeclock_t ============== #!!!! This avc is allowed in the current policy allow gnomeclock_t consoletype_exec_t:file getattr; audit2allow -R #============= gnomeclock_t ============== #!!!! This avc is allowed in the current policy allow gnomeclock_t consoletype_exec_t:file getattr;
*** This bug has been marked as a duplicate of bug 669926 ***