View Issue Details

IDProjectCategoryView StatusLast Update
0016150CentOS-7selinux-policypublic2019-06-05 05:06
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016150: SELinux is preventing /usr/sbin/ldconfig 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/ldconfig from 'write' accesses on the fifo_file /var/tmp/dracut.YD5EnX/systemd-cat.

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

If you want to ignore ldconfig 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/ldconfig --raw | audit2allow -D -M my-ldconfig
# semodule -i my-ldconfig.pp

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

If you believe that ldconfig 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 'ldconfig' --raw | audit2allow -M my-ldconfig
# semodule -i my-ldconfig.pp

Additional Information:
Source Context system_u:system_r:ldconfig_t:s0
Target Context system_u:object_r:initrc_tmp_t:s0
Target Objects /var/tmp/dracut.YD5EnX/systemd-cat [ fifo_file ]
Source ldconfig
Source Path /usr/sbin/ldconfig
Port <Unknown>
Host (removed)
Source RPM Packages glibc-2.17-260.el7_6.5.x86_64
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 2
First Seen 2019-05-23 11:25:16 PDT
Last Seen 2019-05-23 11:26:19 PDT
Local ID 8993ce6f-9332-4c07-ab33-b1062146841c

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

type=SYSCALL msg=audit(1558635979.34:195): arch=x86_64 syscall=execve success=yes exit=0 a0=1e18750 a1=1e9c290 a2=1fca1d0 a3=7ffd013ea860 items=0 ppid=62840 pid=74134 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ldconfig exe=/usr/sbin/ldconfig subj=system_u:system_r:ldconfig_t:s0 key=(null)

Hash: ldconfig,ldconfig_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:06 Elliott New Issue