Description of problem: SELinux is preventing iscsid from 'map' accesses on Fedora 30, following audit messages appear: audit: type=1400 audit(1556941643.614:482): avc: denied { map } for pid=7545 comm="iscsid" path="/usr/lib/modules/5.0.10-300.fc30.x86_64/modules.dep.bin" dev="dm-0" ino=12735 scontext=system_u:system_r:iscsid_t:s0 tcontext=unconfined_u:object_r:modules_dep_t:s0 tclass=file permissive=0 I have created the same bug a few days ago for rhel-8-1, see #1705044 This is regression, since the same issue has been reported for F28 in #1553759 Version-Release number of selected component (if applicable): selinux-policy-3.14.3-32.fc30.noarch iscsi-initiator-utils-6.2.0.876-8.gitf3c8e90.fc30.x86_64
The permission is in the current policy, not in F30 yet, but should be as well in the next build: rawhide# sesearch -A -s iscsid_t -t modules_dep_t -c file -p map allow domain file_type:file map; [ domain_can_mmap_files ]:True allow iscsid_t modules_dep_t:file { getattr ioctl lock map open read }; f30# sesearch -A -s iscsid_t -t modules_dep_t -c file -p map allow domain file_type:file map; [ domain_can_mmap_files ]:True It is correct in F28/29 where a different file context is used: f28# sesearch -A -s iscsid_t -t modules_object_t -c file -p map allow domain file_type:file map; [ domain_can_mmap_files ]:True allow iscsid_t modules_object_t:file { getattr ioctl lock map open read }; commit e33aa41687d9585e96fb87ac73168055ab4b8b8f Author: Lukas Vrabec <lvrabec> Date: Thu May 2 12:56:50 2019 +0200 Allow iscsid_t domain to mmap modules_dep_t files
selinux-policy-3.14.3-37.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-40c077f70d
selinux-policy-3.14.3-37.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-40c077f70d
selinux-policy-3.14.3-37.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.