Bug 1829853 - SELinux is preventing cups-pdf from create access on the unix_dgram_socket labeled cups_pdf_t
Summary: SELinux is preventing cups-pdf from create access on the unix_dgram_socket la...
Keywords:
Status: CLOSED DUPLICATE of bug 1832521
Alias: None
Product: Fedora
Classification: Fedora
Component: cups-pdf
Version: 32
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Robert Marcano
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-30 13:25 UTC by Nicholas Kudriavtsev
Modified: 2020-05-18 15:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-18 15:18:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.