Description of problem: Seeing avc errors on multiple systems booting 2.6.18-186.el5 kernel <snip> iscsi: registered transport (bnx2i) iscsi: registered transport (tcp) iscsi: registered transport (iser) iscsi: registered transport (be2iscsi) (beiscsi_module_init():3941):In beiscsi_module_init, tt=ffffffff88591100 type=1400 audit(1265326006.153:4): avc: denied { write } for pid=1911 comm="brcm_iscsiuio" name="log" dev=dm-0 ino=2785307 scontext=system_u:system_r:iscsid_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=dir ADDRCONF(NETDEV_UP): eth1: link is not ready </snip> Version-Release number of selected component (if applicable): - RHEL5.5-Server-20100201.0 - beta candidate # rpm -qa | grep -i selinux- libselinux-1.33.4-5.5.el5 libselinux-devel-1.33.4-5.5.el5 libselinux-devel-1.33.4-5.5.el5 libselinux-1.33.4-5.5.el5 selinux-policy-targeted-2.4.6-271.el5 libselinux-python-1.33.4-5.5.el5 libselinux-utils-1.33.4-5.5.el5 selinux-policy-2.4.6-271.el5 How reproducible: very, this has been seen on multiple test multiple systems running both kernel and kernel-xen Steps to Reproduce: 1. install RHEL5.5-Server-20100201.0 which has kernel 2.6.18-186.el5 2. review dmesg or /var/log/messages I had not seen these errors in tree RHEL5.5-Server-20100117.0 kernel 2.6.18-185.el5
logs from an RHTS job /sbin/ausearch -sv no -m AVC -m USER_AVC -m SELINUX_ERR -ts 2/4/2010 18:46:46 <no matches> No AVC messages found with /sbin/ausearch -sv no -m AVC -m USER_AVC -m SELINUX_ERR -ts 2/4/2010 18:46:46 /bin/grep avc: /tmp/dmesg.log | /bin/grep --invert-match granted Following messages were found in dmesg: type=1400 audit(1265345126.188:4): avc: denied { write } for pid=1995 comm="brcm_iscsiuio" name="log" dev=dm-0 ino=4259867 scontext=system_u:system_r:iscsid_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=dir Warning: Unable to parse timestamp http://rhts.redhat.com/cgi-bin/rhts/test_log.cgi?id=12021990
* Wed Feb 3 2010 Miroslav Grepl <mgrepl> 2.4.6-272 - Allow iscsid to create log file Resolves: #548599 Fixed in selinux-policy-2.4.6-272.el5.src.rpm
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0182.html