Bug 433703
Summary: | update iscsi policy for isns | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Mike Christie <mchristi> | ||||||||
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 5.2 | CC: | bdonahue, ebenes, eparis, sgrubb | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | RHBA-2008-0465 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2008-05-21 16:07:10 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: | |||||||||||
Attachments: |
|
Description
Mike Christie
2008-02-20 22:09:20 UTC
Created attachment 295460 [details]
selinux output
Here is the selinux output.
Created attachment 295461 [details]
patch to allow isns discovery
Here is a patch made over 2.4.6-121.
I know it is late. As I said in the other bz, I have been running without
selinux on all my machines when I thought it was always on, so I have been
redoing all my testing and Barry/QE has been catching the ones I have not
started on. Sorry about all this.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. The AVC messages that you attached is incorrect. Did you hand edit this or was it created by the kernel directly? The avc specifies the port as being iscsi_t rather then port_t. Created attachment 295541 [details]
selinux port outpout
I found the problem. Originally I got the attached selinux error, and for the
PORT_TYPE I typed in iscsid_t instead of iscsi_port_t. When I use the correct
type I do not need the change in the other comment.
Is there any way I can make it so open-iscsi can always use port 3205 at least?
It is the default port for isns traffic in the isns spec, or do we always have
to do the semanage port command?
Fixed in selinux-policy-2.4.6-122.el5 Mike, could you please try the latest selinux policy (128 or >121) and reply here whether it solves the problem? Thanks. 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 the 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-2008-0465.html |