View Issue Details

IDProjectCategoryView StatusLast Update
0016149CentOS-7selinux-policypublic2019-06-05 05:04
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016149: SELinux is preventing /usr/sbin/mdadm from 'write' accesses on the fifo_file /var/tmp/dracut.YD5EnX/systemd-cat.
DescriptionDescription of problem:
It happens at boot
SELinux is preventing /usr/sbin/mdadm from 'write' accesses on the fifo_file /var/tmp/dracut.YD5EnX/systemd-cat.

***** Plugin leaks (86.2 confidence) suggests *****************************

If you want to ignore mdadm trying to write access the systemd-cat fifo_file, because you believe it should not need this access.
Then you should report this as a bug.
You can generate a local policy module to dontaudit this access.
# ausearch -x /usr/sbin/mdadm --raw | audit2allow -D -M my-mdadm
# semodule -i my-mdadm.pp

***** Plugin catchall (14.7 confidence) suggests **************************

If you believe that mdadm should be allowed write access on the systemd-cat fifo_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
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:mdadm_t:s0
Target Context system_u:object_r:initrc_tmp_t:s0
Target Objects /var/tmp/dracut.YD5EnX/systemd-cat [ fifo_file ]
Source mdadm
Source Path /usr/sbin/mdadm
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.12.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.12.2.el7.x86_64 #1 SMP
                              Tue May 14 21:24:32 UTC 2019 x86_64 x86_64
Alert Count 4
First Seen 2019-05-23 11:25:04 PDT
Last Seen 2019-05-23 11:26:10 PDT
Local ID e2235040-2c80-446c-8c3a-90e4b19623c7

Raw Audit Messages
type=AVC msg=audit(1558635970.782:194): avc: denied { write } for pid=69541 comm="mdadm" path="/var/tmp/dracut.YD5EnX/systemd-cat" dev="xvda1" ino=21315617 scontext=system_u:system_r:mdadm_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=fifo_file permissive=0

Hash: mdadm,mdadm_t,initrc_tmp_t,fifo_file,write

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-957.12.2.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
2019-06-05 05:04 Elliott New Issue