RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1266928 - iscsid related rule is missing
Summary: iscsid related rule is missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.2
Hardware: All
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
: 1267638 (view as bug list)
Depends On:
Blocks: 1172230
TreeView+ depends on / blocked
 
Reported: 2015-09-28 14:36 UTC by Fabian Deutsch
Modified: 2015-11-19 10:46 UTC (History)
10 users (show)

Fixed In Version: selinux-policy-3.13.1-56.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 10:46:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
audit.log with avc denials (355.05 KB, text/plain)
2015-09-28 14:46 UTC, Fabian Deutsch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2300 0 normal SHIPPED_LIVE selinux-policy bug fix update 2015-11-19 09:55:26 UTC

Description Fabian Deutsch 2015-09-28 14:36:38 UTC
Description of problem:
When using iscsid (iscsi-initiator-utils) on some pre-RHEL 7.2 with selinux-policy-3.13.1-53.el7 I'm getting a denial which needs the following rule to be solved:
allow iscsid_t modules_dep_t:file { read open getattr };

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-53.el7

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
We see this on pre-RHEV 3.6 based on pre-RHEL 7.2
We did not see this denial before

Comment 1 Fabian Deutsch 2015-09-28 14:46:21 UTC
Created attachment 1077945 [details]
audit.log with avc denials

Comment 5 Miroslav Grepl 2015-09-30 08:03:29 UTC
This is cause by #916635 which we need to revert and remove from the errata.

Comment 7 Fredy Neeser 2015-10-01 08:35:55 UTC
(In reply to Miroslav Grepl from comment #5)
> This is cause by #916635 which we need to revert and remove from the errata.

What does #916635 refer to?  I cannot access this bug to see the cause.

Comment 8 Fredy Neeser 2015-10-01 08:37:51 UTC
The present bug seems related to

  https://bugzilla.redhat.com/show_bug.cgi?id=1258194
  
"SELinux is preventing iscsid from 'read' accesses on the file /usr/lib/modules/4.1.6-200.fc22.x86_64/modules.dep.bin"

Comment 9 Miroslav Grepl 2015-10-01 08:50:51 UTC
We changed labeling for /lib/modules/*/modules.dep* to modules_dep_t but the problem is they are still placed with modules_object_t in some cases.

So we should revert the change back to have modules_object_t as a default label.

Comment 10 Miroslav Grepl 2015-10-01 09:00:11 UTC
Another possible fix would be define all filenametrans rules correctly to get the correct labeling.

Comment 12 Miroslav Grepl 2015-10-02 08:39:43 UTC
*** Bug 1267638 has been marked as a duplicate of this bug. ***

Comment 16 errata-xmlrpc 2015-11-19 10:46:45 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-2300.html


Note You need to log in before you can comment on or make changes to this bug.