Bug 1031194 - SELinux is preventing /usr/bin/enlightenment from 'open' accesses on the file /var/log/Xorg.0.log.
Summary: SELinux is preventing /usr/bin/enlightenment from 'open' accesses on the file...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:dbdd7150e33422c088361bd51a8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-15 21:09 UTC by Michael S.
Modified: 2013-12-14 02:53 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-105.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-14 02:53:44 UTC
Type: ---


Attachments (Terms of Use)

Description Michael S. 2013-11-15 21:09:47 UTC
Description of problem:
I just started enlightenment, but no error message were show.
SELinux is preventing /usr/bin/enlightenment from 'open' accesses on the file /var/log/Xorg.0.log.

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

If vous pensez que enlightenment devrait être autorisé à accéder open sur Xorg.0.log file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
autoriser cet accès pour le moment en exécutant :
# grep enlightenment /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                staff_u:staff_r:staff_t:s0-s0:c0.c1023
Target Context                system_u:object_r:xserver_log_t:s0
Target Objects                /var/log/Xorg.0.log [ file ]
Source                        enlightenment
Source Path                   /usr/bin/enlightenment
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           enlightenment-0.17.5-2.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-90.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.11.7-300.fc20.x86_64 #1 SMP Mon
                              Nov 4 15:07:39 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-11-15 21:21:35 CET
Last Seen                     2013-11-15 21:21:35 CET
Local ID                      65de8c35-2bae-4434-b6cf-219b8d924467

Raw Audit Messages
type=AVC msg=audit(1384546895.984:810): avc:  denied  { open } for  pid=1935 comm="enlightenment" path="/var/log/Xorg.0.log" dev="dm-2" ino=1310732 scontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xserver_log_t:s0 tclass=file


type=SYSCALL msg=audit(1384546895.984:810): arch=x86_64 syscall=open success=yes exit=EMFILE a0=7fff2b4fa350 a1=0 a2=1b6 a3=0 items=0 ppid=1849 pid=1935 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 ses=13 tty=(none) comm=enlightenment exe=/usr/bin/enlightenment subj=staff_u:staff_r:staff_t:s0-s0:c0.c1023 key=(null)

Hash: enlightenment,staff_t,xserver_log_t,file,open

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.8-300.fc20.x86_64
type:           libreport

Comment 1 Daniel Walsh 2013-11-18 16:54:38 UTC
2fccfb3f046a65690b63f7091c1b4d2d3b6cae9e Allows this in git.

Comment 2 Fedora Update System 2013-11-27 08:15:02 UTC
selinux-policy-3.12.1-105.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-105.fc20

Comment 3 Fedora Update System 2013-11-27 16:13:08 UTC
Package selinux-policy-3.12.1-105.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-105.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-22285/selinux-policy-3.12.1-105.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-12-14 02:53:44 UTC
selinux-policy-3.12.1-105.fc20 has been pushed to the Fedora 20 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.