View Issue Details

IDProjectCategoryView StatusLast Update
0016417CentOS-7selinux-policypublic2019-09-19 04:50
ReporterTuxHandwerker 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016417: SELinux is preventing /usr/sbin/iscsid from 'getattr' accesses on the blk_file /dev/dm-1.
DescriptionDescription of problem:
Update to CentOS 7.7.
SELinux is preventing /usr/sbin/iscsid from 'getattr' accesses on the blk_file /dev/dm-1.

***** Plugin catchall (100. confidence) suggests **************************

Wenn Sie denken, dass es iscsid standardmäßig erlaubt sein sollte, getattr Zugriff auf dm-1 blk_file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
allow this access for now by executing:
# ausearch -c 'iscsid' --raw | audit2allow -M my-iscsid
# semodule -i my-iscsid.pp

Additional Information:
Source Context system_u:system_r:iscsid_t:s0
Target Context system_u:object_r:fixed_disk_device_t:s0
Target Objects /dev/dm-1 [ blk_file ]
Source iscsid
Source Path /usr/sbin/iscsid
Port <Unknown>
Host (removed)
Source RPM Packages iscsi-initiator-utils-6.2.0.874-11.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-252.el7.1.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-1062.1.1.el7.x86_64 #1 SMP
                              Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64
Alert Count 1
First Seen 2019-09-19 00:26:13 CEST
Last Seen 2019-09-19 00:26:13 CEST
Local ID 01af51da-221b-40ae-971a-8c4322f22dca

Raw Audit Messages
type=AVC msg=audit(1568845573.824:1348): avc: denied { getattr } for pid=2724 comm="iscsid" path="/dev/dm-1" dev="devtmpfs" ino=13593 scontext=system_u:system_r:iscsid_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file permissive=0


type=SYSCALL msg=audit(1568845573.824:1348): arch=x86_64 syscall=stat success=no exit=EACCES a0=7ffea8a74120 a1=7ffea8a74050 a2=7ffea8a74050 a3=2 items=0 ppid=1 pid=2724 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=iscsid exe=/usr/sbin/iscsid subj=system_u:system_r:iscsid_t:s0 key=(null)

Hash: iscsid,iscsid_t,fixed_disk_device_t,blk_file,getattr

Version-Release number of selected component:
selinux-policy-3.13.1-252.el7.1.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-1062.1.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash57b415d66ad58f54422f675b6ba139aaa4a616a2f7b83c00abcc5c9477c16735
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-09-19 04:50 TuxHandwerker New Issue