Summary: SELinux is preventing /bin/bash "read write open" access . Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by bash. It is not expected that this access is required by bash and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:afs_t:s0 Target Context system_u:object_r:unlabeled_t:s0 Target Objects [ file ] Source afsd Source Path /usr/sbin/afsd Port <Unknown> Host (removed) Source RPM Packages bash-4.0.35-2.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-106.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.32.10-90.fc12.x86_64 #1 SMP Tue Mar 23 09:47:08 UTC 2010 x86_64 x86_64 Alert Count 7 First Seen Wed 31 Mar 2010 12:17:49 PM EDT Last Seen Wed 31 Mar 2010 12:32:29 PM EDT Local ID 00941f3a-98f0-46ef-9eb9-658443e282fa Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1270053149.736:26): avc: denied { read write open } for pid=3110 comm="bash" name="" dev=dm-0 ino=36738843 scontext=system_u:system_r:afs_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1270053149.736:26): arch=c000003e syscall=4 success=no exit=-2 a0=1bbb6f0 a1=7fffb5113b80 a2=7fffb5113b80 a3=2f items=0 ppid=3091 pid=3110 auid=768 uid=768 gid=1002 euid=768 suid=768 fsuid=768 egid=1002 sgid=1002 fsgid=1002 tty=pts2 ses=1 comm="bash" exe="/bin/bash" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash String generated from catchall,afsd,afs_t,unlabeled_t,file,read,write,open audit2allow suggests: #============= afs_t ============== #!!!! The source type 'afs_t' can write to a 'file' of the following types: # etc_runtime_t, afs_cache_t, proc_afs_t, root_t allow afs_t unlabeled_t:file { read write open };
This looks like a kernel bug in the way the afs modules works. Since this is not part of Fedora or RHEL, I am not sure it will get fixed. I will Miroslav can you add ifdef(`hide_broken_symptoms', ` kernel_rw_unlabeled_files(afs_t) ')
Fixed in selinux-policy-3.6.32-109.fc12
selinux-policy-3.6.32-110.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-110.fc12
selinux-policy-3.6.32-110.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-110.fc12
*** Bug 564007 has been marked as a duplicate of this bug. ***
selinux-policy-3.6.32-110.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.