Bug 1458679 - SELinux is preventing abrt-dump-journ from 'execute' accesses on the file /usr/bin/lz4.
Summary: SELinux is preventing abrt-dump-journ from 'execute' accesses on the file /us...
Keywords:
Status: CLOSED ERRATA
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:e9c843bfab72ba9984288171eee...
: 1414911 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-05 08:16 UTC by kakoskin
Modified: 2017-06-14 07:22 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-3.13.1-225.18.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-14 07:22:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description kakoskin 2017-06-05 08:16:11 UTC
Description of problem:
I am getting this error every time I login to graphical desktop (KDE).
SELinux is preventing abrt-dump-journ from 'execute' accesses on the file /usr/bin/lz4.

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

If you believe that abrt-dump-journ should be allowed execute access on the lz4 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 'abrt-dump-journ' --raw | audit2allow -M my-abrtdumpjourn
# semodule -X 300 -i my-abrtdumpjourn.pp

Additional Information:
Source Context                system_u:system_r:abrt_dump_oops_t:s0
Target Context                system_u:object_r:bin_t:s0
Target Objects                /usr/bin/lz4 [ file ]
Source                        abrt-dump-journ
Source Path                   abrt-dump-journ
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           lz4-1.7.5-1.fc25.x86_64
Policy RPM                    selinux-policy-3.13.1-225.16.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.10.15-200.fc25.x86_64 #1 SMP Mon
                              May 8 18:46:06 UTC 2017 x86_64 x86_64
Alert Count                   116
First Seen                    2017-04-27 22:34:57 EEST
Last Seen                     2017-06-05 11:11:52 EEST
Local ID                      40c1eb90-48cf-4f89-a389-c6015df08133

Raw Audit Messages
type=AVC msg=audit(1496650312.58:121400): avc:  denied  { execute } for  pid=15233 comm="abrt-dump-journ" name="lz4" dev="dm-1" ino=34347595 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0


Hash: abrt-dump-journ,abrt_dump_oops_t,bin_t,file,execute

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

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.10.15-200.fc25.x86_64
type:           libreport

Potential duplicate: bug 1414911

Comment 1 Lukas Vrabec 2017-06-06 11:13:53 UTC
*** Bug 1414911 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Update System 2017-06-08 11:29:00 UTC
selinux-policy-3.13.1-225.18.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-45ca9bfcb6

Comment 3 Fedora Update System 2017-06-09 13:39:53 UTC
selinux-policy-3.13.1-225.18.fc25 has been pushed to the Fedora 25 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-2017-45ca9bfcb6

Comment 4 Fedora Update System 2017-06-14 07:22:34 UTC
selinux-policy-3.13.1-225.18.fc25 has been pushed to the Fedora 25 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.