View Issue Details

IDProjectCategoryView StatusLast Update
0015653CentOS-7selinux-policypublic2018-12-30 11:26
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015653: SELinux is preventing /usr/sbin/mdadm from 'read' accesses on the Datei /etc/mdadm.conf.
DescriptionDescription of problem:
upgraded to most recent CentOS version CentOS Linux release 7.6.1810 (Core)
SELinux is preventing /usr/sbin/mdadm from 'read' accesses on the Datei /etc/mdadm.conf.

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

If you believe that mdadm should be allowed read access on the mdadm.conf file by default.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, k├Ânnen Sie ein lokales Richtlinien-Modul erstellen.
allow this access for now by executing:
# ausearch -c 'mdadm' --raw | audit2allow -M my-mdadm
# semodule -i my-mdadm.pp

Additional Information:
Source Context system_u:system_r:pcp_pmcd_t:s0
Target Context system_u:object_r:mdadm_conf_t:s0
Target Objects /etc/mdadm.conf [ file ]
Source mdadm
Source Path /usr/sbin/mdadm
Port <Unknown>
Host (removed)
Source RPM Packages mdadm-4.1-rc1_2.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.6.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.1.3.el7.x86_64 #1 SMP
                              Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64
Alert Count 384
First Seen 2018-12-30 10:09:31 CET
Last Seen 2018-12-30 12:19:26 CET
Local ID 3572e27b-95c3-4bc1-abc0-04630e1e27b0

Raw Audit Messages
type=AVC msg=audit(1546168766.315:4734): avc: denied { read } for pid=31218 comm="mdadm" name="mdadm.conf" dev="md126" ino=33580100 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:mdadm_conf_t:s0 tclass=file permissive=0

type=SYSCALL msg=audit(1546168766.315:4734): arch=x86_64 syscall=open success=no exit=EACCES a0=564dab0620d0 a1=0 a2=1b6 a3=24 items=0 ppid=31217 pid=31218 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=mdadm exe=/usr/sbin/mdadm subj=system_u:system_r:pcp_pmcd_t:s0 key=(null)

Hash: mdadm,pcp_pmcd_t,mdadm_conf_t,file,read

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-957.1.3.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-12-30 11:26 kusig New Issue