Bug 1895576 - SELinux is preventing cups-pdf from 'create' accesses on the unix_dgram_socket Unbekannt.
Summary: SELinux is preventing cups-pdf from 'create' accesses on the unix_dgram_socke...
Keywords:
Status: CLOSED DUPLICATE of bug 1832521
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ff71487c30bf6a168bd871e0648...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-07 08:46 UTC by Frank Büttner
Modified: 2020-11-09 08:19 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-09 08:19:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2020-11-07 08:46:35 UTC
Description of problem:
Print an page
SELinux is preventing cups-pdf from 'create' accesses on the unix_dgram_socket Unbekannt.

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

Wenn Sie denken, dass es cups-pdf standardmäßig erlaubt sein sollte, create Zugriff auf Unbekannt unix_dgram_socket zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# 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                Unbekannt [ unix_dgram_socket ]
Source                        cups-pdf
Source Path                   cups-pdf
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-3.14.5-44.fc32.noarch
Local Policy RPM              selinux-policy-targeted-3.14.5-44.fc32.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.8.18-200.fc32.x86_64 #1 SMP Mon
                              Nov 2 19:49:11 UTC 2020 x86_64 x86_64
Alert Count                   1
First Seen                    2020-11-07 09:45:38 CET
Last Seen                     2020-11-07 09:45:38 CET
Local ID                      81c4ccda-74b0-4de8-9e6a-94dbafc105d7

Raw Audit Messages
type=AVC msg=audit(1604738738.983:427): avc:  denied  { create } for  pid=13533 comm="cups-pdf" scontext=system_u:system_r:cups_pdf_t:s0-s0:c0.c1023 tcontext=system_u:system_r:cups_pdf_t:s0-s0:c0.c1023 tclass=unix_dgram_socket permissive=0


Hash: cups-pdf,cups_pdf_t,cups_pdf_t,unix_dgram_socket,create

Version-Release number of selected component:
selinux-policy-targeted-3.14.5-44.fc32.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.13.1
hashmarkername: setroubleshoot
kernel:         5.8.18-200.fc32.x86_64
type:           libreport

Potential duplicate: bug 1832521

Comment 1 Milos Malik 2020-11-09 07:16:46 UTC
I believe this bug is a duplicate of BZ#1832521.

Comment 2 Zdenek Pytela 2020-11-09 08:19:50 UTC

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