Bug 1465126 - SELinux is preventing abrt-action-che from 'write' accesses on the directory /usr/lib64/python3.6/__pycache__.
SELinux is preventing abrt-action-che from 'write' accesses on the directory ...
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-06-26 13:35 EDT by Heiko Adams
Modified: 2017-06-26 13:35 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Heiko Adams 2017-06-26 13:35:16 EDT
Description of problem:
SELinux is preventing abrt-action-che from 'write' accesses on the directory /usr/lib64/python3.6/__pycache__.

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

If sie denken, dass es abrt-action-che standardmäßig erlaubt sein sollte, write Zugriff auf __pycache__ directory zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
allow this access for now by executing:
# ausearch -c 'abrt-action-che' --raw | audit2allow -M my-abrtactionche
# semodule -X 300 -i my-abrtactionche.pp

Additional Information:
Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:lib_t:s0
Target Objects                /usr/lib64/python3.6/__pycache__ [ dir ]
Source                        abrt-action-che
Source Path                   abrt-action-che
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           system-python-libs-3.6.1-6.fc26.x86_64 system-
Policy RPM                    selinux-policy-3.13.1-259.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.6-301.fc26.x86_64 #1 SMP Tue
                              Jun 20 16:17:33 UTC 2017 x86_64 x86_64
Alert Count                   77
First Seen                    2017-06-26 19:03:36 CEST
Last Seen                     2017-06-26 19:03:43 CEST
Local ID                      1f4f6afd-2890-4fd4-a8c7-2c53251bc22b

Raw Audit Messages
type=AVC msg=audit(1498496623.441:2216): avc:  denied  { write } for  pid=10396 comm="abrt-action-not" name="__pycache__" dev="dm-0" ino=1841509 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=dir permissive=0

Hash: abrt-action-che,abrt_t,lib_t,dir,write

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.6-301.fc26.x86_64
type:           libreport

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