Bug 761485
Summary: | [SeLinux] selinux stop iscsi login in via bnx2i | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Gris Ge <fge> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.7 | CC: | bgoncalv, ccui, coughlan, dwalsh, eddie.wai, mchristi, mmalik |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-2.4.6-321.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-21 05:48:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gris Ge
2011-12-08 12:16:44 UTC
Eddie, For RHEL6.2 did you guys have the selinux people do a fix? I did not. I was thinking we should have hit something similar. This looks ok though, and we need to get the selinux policy updated. Hey Mike, No, I did not either. Is it because the old policy is now obsolete (brcm_iscsiuio vs iscsiuio)? Eddie Hi Selinux developers, It looks like we need to update the policy for a change in the iscsi tools. I was wondering though, for rhel 5.8 I used the iscsi tools that I put into rhel 6.2. For rhel 6.2 I did not submit any changes for the policy. Did you guys do that for us? I did not see any bzs. Storage-QE didn't perform any selinux test on bnx2i in 6.2 as we got that card after RHEL 6.2 test plan draft out. Bruno, Can you help us to confirm whether we have same problem on RHEL 6.2 GA? So the binary was renamed and we need to add /sbin/iscsiuio -- gen_context(system_u:object_r:iscsid_exec_t,s0) On RHEL 6.2 it worked properly, selinux didn't report any error. I've tested on Kernel 2.6.32-220.el6. Gris, if you execute # chcon -t iscsid_exec_t /sbin/iscsiuio does it work? Miroslav, Yes it does work. Fixed in selinux-policy-2.4.6-321.el5 Yes, I confirmed that with selinux-policy-2.4.6-321.el5 it is working correctly. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0158.html |