| Summary: | SELinux is geeting in iscsid's way | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Renich Bon Ciric <renich> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | coughlan, dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.10.0-80.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-24 00:39:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
You mean you are getting exactly the same AVC msgs? Related to the 3261/tcp port? Did you setup this port? yes, I am getting exactly the same AVC messages. I can post my audit.log if you like. No, I did not setup the port. I don't know how. Also, I might speak a bit about the context. I am trying to use iSCSI to store a KVM/Qemu image there. The mount should be located at /var/lib/libvirt/images/iscsi or something like that. I've noticed you have sone virt booleans: virt_use_comm --> off virt_use_execmem --> off virt_use_fusefs --> off virt_use_nfs --> off virt_use_samba --> off virt_use_sanlock --> off virt_use_sysfs --> off virt_use_usb --> on virt_use_xserver --> off which applies for iscsi? maybe sysfs? Tom, do you know why iscsid is connecting a tcp socket to port 3261? grep 3261 /etc/services winshadow 3261/tcp # winShadow winshadow 3261/udp # winShadow It looks like google says something about this port. Looks like starwind working with iscsi? Something about a Microsoft product. Renich, if I were you I would execute the following command semanage port -a -t iscsi_port_t -p tcp 3261 Which if Tom confirms, I believe we should make the default. (In reply to comment #4) > Looks like starwind working with iscsi? Something about a Microsoft product. > > Renich, if I were you I would execute the following command > > semanage port -a -t iscsi_port_t -p tcp 3261 > > Which if Tom confirms, I believe we should make the default. Thanks, Daniel. I will. Can I expect this on the mainstream package? Yes. Miroslav can you back port this to F15,F16 and RHEL6? Added to all releases. selinux-policy-3.10.0-78.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-78.fc16 Package selinux-policy-3.10.0-78.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-78.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-78.fc16 then log in and leave karma (feedback). Package selinux-policy-3.10.0-80.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-80.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-80.fc16 then log in and leave karma (feedback). selinux-policy-3.10.0-80.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Feb 07 08:35:05 (null) (null): audit(1328603705.278:372): avc: denied { name_connect } for pid=17960 comm=iscsid dest=3261 scontext=unconfined_u:system_r:iscsid_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket I have a ton of those. It seems there is no iscsid policy... is there?