Bug 1544270

Summary: SELinux is preventing telepathy-logge from 'map' accesses on the file /run/user/1000/dconf/user.
Product: [Fedora] Fedora Reporter: Stewart Smith <stewart>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:135ccdbfd30606ecd1930291511e9be007cc650daf3f336e00653ebd49752133;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-283.28.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-20 18:16:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stewart Smith 2018-02-11 22:35:56 UTC
Description of problem:
Logged in as user that's staff_t
SELinux is preventing telepathy-logge from 'map' accesses on the file /run/user/1000/dconf/user.

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

If you believe that telepathy-logge should be allowed map access on the user 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 'telepathy-logge' --raw | audit2allow -M my-telepathylogge
# semodule -X 300 -i my-telepathylogge.pp

Additional Information:
Source Context                staff_u:staff_r:telepathy_logger_t:s0-s0:c0.c1023
Target Context                staff_u:object_r:config_home_t:s0
Target Objects                /run/user/1000/dconf/user [ file ]
Source                        telepathy-logge
Source Path                   telepathy-logge
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-283.24.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.14.16-300.fc27.x86_64 #1 SMP Wed
                              Jan 31 19:24:27 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-02-12 09:34:05 AEDT
Last Seen                     2018-02-12 09:34:05 AEDT
Local ID                      d1941d7b-a033-46ce-b88a-200f9e1b5372

Raw Audit Messages
type=AVC msg=audit(1518388445.893:300): avc:  denied  { map } for  pid=3896 comm="telepathy-logge" path="/run/user/1000/dconf/user" dev="tmpfs" ino=58338 scontext=staff_u:staff_r:telepathy_logger_t:s0-s0:c0.c1023 tcontext=staff_u:object_r:config_home_t:s0 tclass=file permissive=0


Hash: telepathy-logge,telepathy_logger_t,config_home_t,file,map

Version-Release number of selected component:
selinux-policy-3.13.1-283.24.fc27.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.14.16-300.fc27.x86_64
type:           libreport

Comment 1 Fedora Update System 2018-03-07 17:11:59 UTC
selinux-policy-3.13.1-283.27.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 2 Fedora Update System 2018-03-08 16:22:15 UTC
selinux-policy-3.13.1-283.27.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 3 Fedora Update System 2018-03-12 18:18:30 UTC
selinux-policy-3.13.1-283.28.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 4 Fedora Update System 2018-03-14 01:35:21 UTC
selinux-policy-3.13.1-283.28.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 5 Fedora Update System 2018-03-20 18:16:49 UTC
selinux-policy-3.13.1-283.28.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.