This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1462116 - SELinux is preventing python3 from 'getattr' accesses on the file /proc/sys/kernel/core_pattern.
SELinux is preventing python3 from 'getattr' accesses on the file /proc/sys/k...
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
abrt_hash:5437888fc85aec086c78b7518f9...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-16 04:44 EDT by Heiko Adams
Modified: 2017-06-16 04:44 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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-16 04:44:30 EDT
Description of problem:
Starting blueman2
SELinux is preventing python3 from 'getattr' accesses on the file /proc/sys/kernel/core_pattern.

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

If sie denken, dass es python3 standardmäßig erlaubt sein sollte, getattr 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.
Do
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                /proc/sys/kernel/core_pattern [ file ]
Source                        python3
Source Path                   python3
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unbekannt>
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                   2
First Seen                    2017-06-16 10:42:53 CEST
Last Seen                     2017-06-16 10:42:53 CEST
Local ID                      6eddaea2-8cfc-46fd-82fb-a64af8780405

Raw Audit Messages
type=AVC msg=audit(1497602573.876:740): avc:  denied  { getattr } for  pid=16218 comm="python3" path="/proc/sys/kernel/core_pattern" dev="proc" ino=11402 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,getattr


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.