Bug 1577601 - SELinux is preventing pool from 'map' accesses on the file /usr/share/fonts/anonymousPro/README.txt.
Summary: SELinux is preventing pool from 'map' accesses on the file /usr/share/fonts/a...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:98192504beb7fe73c82705302e1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-13 12:13 UTC by reiandsweet
Modified: 2018-05-21 16:18 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description reiandsweet 2018-05-13 12:13:25 UTC
Description of problem:
SELinux is preventing pool from 'map' accesses on the file /usr/share/fonts/anonymousPro/README.txt.

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

If you believe that pool should be allowed map access on the README.txt file 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 'pool' --raw | audit2allow -M my-pool
# semodule -X 300 -i my-pool.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                /usr/share/fonts/anonymousPro/README.txt [ file ]
Source                        pool
Source Path                   pool
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-24.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.16.7-300.fc28.x86_64 #1 SMP Wed
                              May 2 20:09:13 UTC 2018 x86_64 x86_64
Alert Count                   12
First Seen                    2018-05-13 08:08:53 EDT
Last Seen                     2018-05-13 08:08:53 EDT
Local ID                      6d40a04b-1419-406a-9734-2c25e6204fe5

Raw Audit Messages
type=AVC msg=audit(1526213333.743:305): avc:  denied  { map } for  pid=1457 comm="pool" path="/usr/share/fonts/anonymousPro/README.txt" dev="dm-0" ino=1600445 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0


Hash: pool,xdm_t,user_home_t,file,map

Version-Release number of selected component:
selinux-policy-3.14.1-24.fc28.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.5
hashmarkername: setroubleshoot
kernel:         4.16.7-300.fc28.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-05-21 16:17:55 UTC
Hi, 

Please run:

# restorecon -Rv / 

To fix your issue. Thanks.


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