Bug 1462001 - SELinux is preventing python3 from 'read' accesses on the file core_pattern.
SELinux is preventing python3 from 'read' accesses on the file core_pattern.
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-15 17:43 EDT by Heiko Adams
Modified: 2017-06-15 17:43 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-15 17:43:41 EDT
Description of problem:
SELinux is preventing python3 from 'read' accesses on the file core_pattern.

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

If sie denken, dass es python3 standardmäßig erlaubt sein sollte, read Zugriff auf core_pattern file 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 'python3' --raw | audit2allow -M my-python3
# semodule -X 300 -i my-python3.pp

Additional Information:
Source Context                system_u:system_r:blueman_t:s0
Target Context                system_u:object_r:usermodehelper_t:s0
Target Objects                core_pattern [ file ]
Source                        python3
Source Path                   python3
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unknown>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.4-300.fc26.x86_64 #1 SMP Wed
                              Jun 7 18:07:41 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-06-15 23:42:51 CEST
Last Seen                     2017-06-15 23:42:51 CEST
Local ID                      224ed0cb-3637-4146-893e-2975753e2d2a

Raw Audit Messages
type=AVC msg=audit(1497562971.602:615): avc:  denied  { read } for  pid=5274 comm="python3" name="core_pattern" dev="proc" ino=10343 scontext=system_u:system_r:blueman_t:s0 tcontext=system_u:object_r:usermodehelper_t:s0 tclass=file permissive=0

Hash: python3,blueman_t,usermodehelper_t,file,read

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

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