Bug 1321047 - SELinux is preventing sealert from write access...
Summary: SELinux is preventing sealert from write access...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-24 14:31 UTC by Dominik Perpeet
Modified: 2016-04-13 07:22 UTC (History)
3 users (show)

Fixed In Version: setroubleshoot-3.3.5-2.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-13 07:22:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dominik Perpeet 2016-03-24 14:31:43 UTC
Description of problem:
SELinux is preventing sealert from write access on the directory /usr/lib/python3.4/site-packages/setroubleshoot/__pycache__.

calls to sealert result in 'failed to connect to server: No such file or directory'

Version-Release number of selected component (if applicable):
setroubleshoot-server-3.3.4-1.fc23.x86_64

How reproducible:
always

Steps to Reproduce:
1. cause an alert to appear
2. try to fix it via sealert or via dbus api

Actual results:
'failed to connect to server: No such file or directory'

Expected results:
fixed issue

Additional info:

type=AVC msg=audit(1458826527.32:4661): avc: denied { write } for pid=26552 comm="sealert" name="__pycache__" dev="dm-0" ino=156362 scontext=system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=dir permissive=0

Comment 1 Petr Lautrbach 2016-03-24 14:33:09 UTC
Thanks for the report.

Most likely it's a packaging issue, we need to fix spec file according to https://fedoraproject.org/wiki/Packaging:Python?rd=Packaging/Python#Byte_compiling

Comment 3 Fedora Update System 2016-04-05 05:37:08 UTC
setroubleshoot-3.3.5-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1665e574a3

Comment 4 Fedora Update System 2016-04-05 05:37:25 UTC
setroubleshoot-3.3.5-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-93eb4bde15

Comment 5 Fedora Update System 2016-04-05 15:53:30 UTC
setroubleshoot-3.3.5-1.fc23 has been pushed to the Fedora 23 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-2016-93eb4bde15

Comment 6 Fedora Update System 2016-04-05 19:21:53 UTC
setroubleshoot-3.3.5-1.fc24 has been pushed to the Fedora 24 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-2016-1665e574a3

Comment 7 Fedora Update System 2016-04-07 10:02:43 UTC
setroubleshoot-3.3.5-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1665e574a3

Comment 8 Fedora Update System 2016-04-07 10:06:08 UTC
setroubleshoot-3.3.5-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-93eb4bde15

Comment 9 Fedora Update System 2016-04-08 16:53:36 UTC
setroubleshoot-3.3.5-2.fc24 has been pushed to the Fedora 24 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-2016-1665e574a3

Comment 10 Fedora Update System 2016-04-08 20:51:52 UTC
setroubleshoot-3.3.5-2.fc23 has been pushed to the Fedora 23 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-2016-93eb4bde15

Comment 11 Fedora Update System 2016-04-11 09:13:20 UTC
setroubleshoot-3.3.5-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-04-13 07:22:29 UTC
setroubleshoot-3.3.5-2.fc23 has been pushed to the Fedora 23 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.