Summary: SELinux is preventing /usr/sbin/tgtd "read write" access on vg_system00-iSCSI_mail_lun_0. Detailed Description: [tgtd has a permissive type (tgtd_t). This access was not denied.] SELinux denied access requested by tgtd. It is not expected that this access is required by tgtd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:tgtd_t:s0 Target Context system_u:object_r:fixed_disk_device_t:s0 Target Objects vg_system00-iSCSI_mail_lun_0 [ blk_file ] Source tgtd Source Path /usr/sbin/tgtd Port <Unknown> Host (removed) Source RPM Packages scsi-target-utils-0.9.5-3.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-69.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18 19:52:07 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen Sat 23 Jan 2010 03:12:37 PM CET Last Seen Sat 23 Jan 2010 03:12:37 PM CET Local ID d2657f94-3fc1-4fd6-8fb0-325d027657aa Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1264255957.589:17): avc: denied { read write } for pid=2114 comm="tgtd" name="vg_system00-iSCSI_mail_lun_0" dev=tmpfs ino=4266 scontext=system_u:system_r:tgtd_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file node=(removed) type=AVC msg=audit(1264255957.589:17): avc: denied { open } for pid=2114 comm="tgtd" name="vg_system00-iSCSI_mail_lun_0" dev=tmpfs ino=4266 scontext=system_u:system_r:tgtd_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file node=(removed) type=SYSCALL msg=audit(1264255957.589:17): arch=c000003e syscall=2 success=yes exit=17 a0=657c50 a1=2 a2=7fff72f7ac10 a3=5f6e756c5f6c6961 items=0 ppid=1 pid=2114 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="tgtd" exe="/usr/sbin/tgtd" subj=system_u:system_r:tgtd_t:s0 key=(null) Hash String generated from selinux-policy-3.6.32-69.fc12,catchall,tgtd,tgtd_t,fixed_disk_device_t,blk_file,read,write audit2allow suggests: audit2allow is not installed.
Giving tgtd this access basically gives it full run of the system. But I think it needs it. Miroslav add storage_manage_fixed_disk(tgtd_t)
*** Bug 552940 has been marked as a duplicate of this bug. ***
Fixed in selinux-policy-3.6.32-78.fc12
selinux-policy-3.6.32-78.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-78.fc12
selinux-policy-3.6.32-78.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/F12/FEDORA-2010-1207
selinux-policy-3.6.32-78.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.