Description of problem: SELinux is preventing gs from 'setattr' accesses on the dossier /usr/lib/fontconfig/cache. ***** Plugin catchall (100. confidence) suggests ************************** Si vous pensez que gs devrait être autorisé à accéder setattr sur cache directory par défaut. Then vous devriez rapporter ceci en tant qu'anomalie. Vous pouvez générer un module de stratégie local pour autoriser cet accès. Do autoriser cet accès pour le moment en exécutant : # ausearch -c "gs" --raw | audit2allow -M my-gs # semodule -X 300 -i my-gs.pp Additional Information: Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Context system_u:object_r:lib_t:s0 Target Objects /usr/lib/fontconfig/cache [ dir ] Source gs Source Path gs Port <Inconnu> Host (removed) Source RPM Packages Target RPM Packages fontconfig-2.13.1-1.fc29.x86_64 Policy RPM selinux-policy-3.14.2-36.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.18.12-300.fc29.x86_64 #1 SMP Thu Oct 4 15:01:22 UTC 2018 x86_64 x86_64 Alert Count 1 First Seen 2018-10-07 15:52:31 CEST Last Seen 2018-10-07 15:52:31 CEST Local ID 37a40c82-eb91-49f4-a36e-b18012046c4a Raw Audit Messages type=AVC msg=audit(1538920351.670:413): avc: denied { setattr } for pid=16235 comm="gs" name="cache" dev="dm-0" ino=132927 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=dir permissive=0 Hash: gs,cupsd_t,lib_t,dir,setattr Version-Release number of selected component: selinux-policy-3.14.2-36.fc29.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.18.12-300.fc29.x86_64 type: libreport
Description of problem: Happened randomly Version-Release number of selected component: selinux-policy-3.14.2-36.fc29.noarch Additional info: reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.18.11-301.fc29.x86_64 type: libreport
Description of problem: attempt to print Version-Release number of selected component: selinux-policy-3.14.2-40.fc29.noarch Additional info: reporter: libreport-2.9.6 hashmarkername: setroubleshoot kernel: 4.18.16-300.fc29.x86_64 type: libreport
Hi All, Do you see any troubles with cupsd daemon or you just see this SELinux denials without any functionality issues?
It didn't prevent me from printing and apart from the message I didn't notice any problems. Obviously I can't guarantee that _everything_ cups-related still works as I usually only print simple documents on a network printer.
commit 2fb617a942d8e0802b0cce75643c173821aa1995 (HEAD -> rawhide) Author: Lukas Vrabec <lvrabec> Date: Sun Nov 4 18:07:43 2018 +0100 Dontaudit cupsd_t domain to setattr lib_t dirs BZ(1636766)
selinux-policy-3.14.2-42.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3129f981d3
selinux-policy-3.14.2-42.fc29 has been pushed to the Fedora 29 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-2018-3129f981d3
selinux-policy-3.14.2-42.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.