Bug 1570292 - SELinux is preventing abrt-hook-ccpp from 'map' accesses on the Datei /home/frank/Android/android-sdk-linux/platform-tools/adb.
Summary: SELinux is preventing abrt-hook-ccpp from 'map' accesses on the Datei /home/f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:19a4485b084141fa04a8f88cf3a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-21 17:32 UTC by Frank Büttner
Modified: 2018-05-05 22:27 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-283.34.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-05 22:27:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2018-04-21 17:32:05 UTC
Description of problem:
Try to start adb from the android sdk
SELinux is preventing abrt-hook-ccpp from 'map' accesses on the Datei /home/frank/Android/android-sdk-linux/platform-tools/adb.

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

If you believe that abrt-hook-ccpp should be allowed map access on the adb file by default.
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 'abrt-hook-ccpp' --raw | audit2allow -M my-abrthookccpp
# semodule -X 300 -i my-abrthookccpp.pp

Additional Information:
Source Context                system_u:system_r:abrt_dump_oops_t:s0
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                /home/frank/Android/android-sdk-linux/platform-
                              tools/adb [ file ]
Source                        abrt-hook-ccpp
Source Path                   abrt-hook-ccpp
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-283.30.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.15.17-300.fc27.x86_64 #1 SMP Thu
                              Apr 12 18:19:17 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-04-21 19:30:51 CEST
Last Seen                     2018-04-21 19:30:51 CEST
Local ID                      0b71d412-f45d-4c4a-a230-4d22f28c0646

Raw Audit Messages
type=AVC msg=audit(1524331851.259:348): avc:  denied  { map } for  pid=23102 comm="abrt-hook-ccpp" path="/home/frank/Android/android-sdk-linux/platform-tools/adb" dev="dm-2" ino=8128200 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0


Hash: abrt-hook-ccpp,abrt_dump_oops_t,user_home_t,file,map

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

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

Comment 1 Fedora Update System 2018-04-29 13:18:43 UTC
selinux-policy-3.13.1-283.34.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-aa26da1777

Comment 2 Fedora Update System 2018-04-30 14:17:11 UTC
selinux-policy-3.13.1-283.34.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-aa26da1777

Comment 3 Fedora Update System 2018-05-05 22:27:01 UTC
selinux-policy-3.13.1-283.34.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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