Bug 1551581 - SELinux is preventing systemd from 'write' accesses on the sock_file cups.sock.
Summary: SELinux is preventing systemd from 'write' accesses on the sock_file cups.sock.
Keywords:
Status: CLOSED DUPLICATE of bug 1543807
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:593631722d78c95a7bab8635eb6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-05 12:52 UTC by Vít Ondruch
Modified: 2018-03-05 13:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-05 13:05:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2018-03-05 12:52:15 UTC
Description of problem:
SELinux is preventing systemd from 'write' accesses on the sock_file cups.sock.

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

Pokud jste přesvědčeni, že má systemd mít ve výchozím stavu přístup write na cups.sock sock_file.
Then toto byste měli nahlásit jako chybu.
Abyste přístup povolili, můžete vygenerovat lokální modul pravidel.
Do
prozatím tento přístup povolíte příkazy:
# ausearch -c 'systemd' --raw | audit2allow -M my-systemd
# semodule -X 300 -i my-systemd.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:cupsd_var_run_t:s0
Target Objects                cups.sock [ sock_file ]
Source                        systemd
Source Path                   systemd
Port                          <Neznámé>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-2.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.15.7-300.fc27.x86_64 #1 SMP Wed
                              Feb 28 17:53:39 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-03-05 13:48:17 CET
Last Seen                     2018-03-05 13:48:17 CET
Local ID                      8bd626f4-32b6-4fc1-bb58-ae9464b3e889

Raw Audit Messages
type=AVC msg=audit(1520254097.382:93): avc:  denied  { write } for  pid=1 comm="systemd" name="cups.sock" dev="tmpfs" ino=21448 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:cupsd_var_run_t:s0 tclass=sock_file permissive=0


Hash: systemd,init_t,cupsd_var_run_t,sock_file,write

Version-Release number of selected component:
selinux-policy-3.14.2-2.fc29.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.15.7-300.fc27.x86_64
type:           libreport

Potential duplicate: bug 1541202

Comment 1 Lukas Vrabec 2018-03-05 13:05:09 UTC

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


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