Description of problem: Tried to add a printer by discovering printers first via Gnome settings. SELinux is preventing cups-pdf from 'read' accesses on the directory /etc/cups. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that cups-pdf should be allowed read access on the cups 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 'cups-pdf' --raw | audit2allow -M my-cupspdf # semodule -X 300 -i my-cupspdf.pp Additional Information: Source Context system_u:system_r:cups_pdf_t:s0-s0:c0.c1023 Target Context system_u:object_r:cupsd_etc_t:s0 Target Objects /etc/cups [ dir ] Source cups-pdf Source Path cups-pdf Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages cups-2.2.4-6.fc27.x86_64 Policy RPM selinux-policy-3.13.1-283.16.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.13.12-300.fc27.x86_64 #1 SMP Wed Nov 8 16:38:01 UTC 2017 x86_64 x86_64 Alert Count 1 First Seen 2017-11-22 13:12:25 CET Last Seen 2017-11-22 13:12:25 CET Local ID c615dba5-8ce8-4c6f-abf4-fb630f33aba1 Raw Audit Messages type=AVC msg=audit(1511352745.991:3269): avc: denied { read } for pid=20611 comm="cups-pdf" name="cups" dev="dm-0" ino=316 scontext=system_u:system_r:cups_pdf_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cupsd_etc_t:s0 tclass=dir permissive=0 Hash: cups-pdf,cups_pdf_t,cupsd_etc_t,dir,read Version-Release number of selected component: selinux-policy-3.13.1-283.16.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.13.12-300.fc27.x86_64 type: libreport
*** Bug 1517509 has been marked as a duplicate of this bug. ***
selinux-policy-3.13.1-283.18.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502
selinux-policy-3.13.1-283.18.fc27 has been pushed to the Fedora 27 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-2017-8225c4e502
selinux-policy-3.13.1-283.19.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502
selinux-policy-3.13.1-283.19.fc27 has been pushed to the Fedora 27 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-2017-8225c4e502
selinux-policy-3.13.1-283.19.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.