Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Print a webpage using CUPS-PDF SELinux is preventing cups-pdf from 'write' accesses on the directory /var/log. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that cups-pdf should be allowed write access on the log 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:var_log_t:s0 Target Objects /var/log [ dir ] Source cups-pdf Source Path cups-pdf Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages filesystem-3.8-2.fc28.x86_64 Policy RPM selinux-policy-3.14.1-54.fc28.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.0.7-100.fc28.x86_64 #1 SMP Mon Apr 8 16:46:50 UTC 2019 x86_64 x86_64 Alert Count 1 First Seen 2019-04-16 09:56:51 CDT Last Seen 2019-04-16 09:56:51 CDT Local ID 7560cd7c-2203-48be-93e0-bd276f56bd32 Raw Audit Messages type=AVC msg=audit(1555426611.812:326): avc: denied { write } for pid=11343 comm="cups-pdf" name="log" dev="dm-0" ino=2621457 scontext=system_u:system_r:cups_pdf_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_log_t:s0 tclass=dir permissive=0 Hash: cups-pdf,cups_pdf_t,var_log_t,dir,write Version-Release number of selected component: selinux-policy-3.14.1-54.fc28.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 5.0.7-100.fc28.x86_64 type: libreport
commit aaa5022eda935dd867ec5cd54f735422e2714197 (HEAD -> rawhide) Author: Lukas Vrabec <lvrabec> Date: Thu Apr 18 13:42:30 2019 +0200 Allow cups_pdf_t domain to create cupsd_log_t dirs in /var/log BZ(1700442)
This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.