Bug 1421004 - SELinux is preventing python3 from 'read' accesses on the directory site-packages.
Summary: SELinux is preventing python3 from 'read' accesses on the directory site-pack...
Keywords:
Status: CLOSED DUPLICATE of bug 1471586
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:714056a9a1c20864b88817dfb1f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-10 05:40 UTC by Ghadiyali Mohammed Kader
Modified: 2017-07-19 10:33 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-19 10:33:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ghadiyali Mohammed Kader 2017-02-10 05:40:17 UTC
Description of problem:
SELinux is preventing python3 from 'read' accesses on the directory site-packages.

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

If you believe that python3 should be allowed read access on the site-packages directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
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-s0:c0.c1023
Target Context                unconfined_u:object_r:gconf_home_t:s0
Target Objects                site-packages [ dir ]
Source                        python3
Source Path                   python3
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.6.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.9.7-201.fc25.x86_64 #1 SMP Thu
                              Feb 2 23:32:42 UTC 2017 x86_64 x86_64
Alert Count                   2
First Seen                    2017-02-10 11:03:27 IST
Last Seen                     2017-02-10 11:03:27 IST
Local ID                      2205f3d2-b195-463c-b77a-bbe26d74204c

Raw Audit Messages
type=AVC msg=audit(1486704807.599:264): avc:  denied  { read } for  pid=2169 comm="python3" name="site-packages" dev="dm-0" ino=10490706 scontext=system_u:system_r:blueman_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gconf_home_t:s0 tclass=dir permissive=0


Hash: python3,blueman_t,gconf_home_t,dir,read

Version-Release number of selected component:
selinux-policy-3.13.1-225.6.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.9.7-201.fc25.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2017-07-19 10:33:28 UTC

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


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