Description of problem: I don't know how it happened. I receive the SELinux alert every day or so. SELinux is preventing gnome-shell from 'map' accesses on the directory /var/lib/gdm/.cache/fontconfig. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gnome-shell should be allowed map access on the fontconfig directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'gnome-shell' --raw | audit2allow -M my-gnomeshell # semodule -X 300 -i my-gnomeshell.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:object_r:xdm_var_lib_t:s0 Target Objects /var/lib/gdm/.cache/fontconfig [ dir ] Source gnome-shell Source Path gnome-shell Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.3-39.fc30.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.1.15-300.fc30.x86_64 #1 SMP Tue Jun 25 14:07:22 UTC 2019 x86_64 x86_64 Alert Count 114 First Seen 2019-06-21 15:12:58 EDT Last Seen 2019-07-04 07:47:40 EDT Local ID 413097da-9a47-4b32-b2d7-82cd417dcfa6 Raw Audit Messages type=AVC msg=audit(1562240860.325:295): avc: denied { map } for pid=1710 comm="gsd-xsettings" path="/var/lib/gdm/.cache/fontconfig" dev="dm-6" ino=657980 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_lib_t:s0 tclass=dir permissive=0 Hash: gnome-shell,xdm_t,xdm_var_lib_t,dir,map Version-Release number of selected component: selinux-policy-3.14.3-39.fc30.noarch Additional info: component: selinux-policy reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.1.15-300.fc30.x86_64 type: libreport
commit 16e99120996d1755b18d042e31cd30bad7687228 Author: Lukas Vrabec <lvrabec> Date: Mon Jul 1 12:47:11 2019 +0200 Allow xdm_t domain to mmap /var/lib/gdm/.cache/fontconfig BZ(1725509)
FEDORA-2019-9c513c4cf8 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9c513c4cf8
selinux-policy-3.14.3-40.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-9c513c4cf8
selinux-policy-3.14.3-40.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.