Bug 1829853

Summary: SELinux is preventing cups-pdf from create access on the unix_dgram_socket labeled cups_pdf_t
Product: [Fedora] Fedora Reporter: Nicholas Kudriavtsev <nkudriavtsev>
Component: cups-pdfAssignee: Robert Marcano <robert>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 32CC: ewl+redhat, robert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-18 15:18:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nicholas Kudriavtsev 2020-04-30 13:25:32 UTC
Description of problem:

When printing to cups-pdf get the error.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that cups-pdf should be allowed create access on unix_dgram_socket labeled cups_pdf_t 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:system_r:cups_pdf_t:s0-s0:c0.c1023
Target Objects                Unknown [ unix_dgram_socket ]
Source                        cups-pdf
Source Path                   cups-pdf
Port                          <Unknown>
Host                          phx6
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-3.14.5-35.fc32.noarch
Local Policy RPM              selinux-policy-targeted-3.14.5-35.fc32.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     
Platform                      Linux 5.6.7-300.fc32.x86_64 #1 SMP Thu Apr 23

Comment 1 Eric L. 2020-05-18 07:03:10 UTC
I guess this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1832521 (or vice-versa)

Comment 2 Nicholas Kudriavtsev 2020-05-18 07:59:16 UTC
Seems so

Comment 3 Robert Marcano 2020-05-18 15:18:48 UTC
Thanks for the report, closing it and using the other one because it is a little more detailed

*** This bug has been marked as a duplicate of bug 1832521 ***