Bug 1175173 - SELinux is preventing Xorg.bin from 'unlink' accesses on the file /var/log/Xorg.8.log.old.
Summary: SELinux is preventing Xorg.bin from 'unlink' accesses on the file /var/log/Xo...
Keywords:
Status: CLOSED DUPLICATE of bug 1176327
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ca4b72d30ab5d086bd68c487c9b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-17 09:50 UTC by Brian Vaughan
Modified: 2015-01-06 14:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-06 14:53:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian Vaughan 2014-12-17 09:50:51 UTC
Description of problem:
SELinux is preventing Xorg.bin from 'unlink' accesses on the file /var/log/Xorg.8.log.old.

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

If you believe that Xorg.bin should be allowed unlink access on the Xorg.8.log.old 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:
# grep Xorg.bin /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:bumblebee_t:s0
Target Context                system_u:object_r:xserver_log_t:s0
Target Objects                /var/log/Xorg.8.log.old [ file ]
Source                        Xorg.bin
Source Path                   Xorg.bin
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-99.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.17.6-300.fc21.x86_64 #1 SMP Mon
                              Dec 8 22:29:32 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-12-17 01:48:43 PST
Last Seen                     2014-12-17 01:48:43 PST
Local ID                      522adf5f-7237-43d1-8c9a-91cc631f469b

Raw Audit Messages
type=AVC msg=audit(1418809723.513:488): avc:  denied  { unlink } for  pid=3122 comm="Xorg.bin" name="Xorg.8.log.old" dev="dm-2" ino=1836203 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:xserver_log_t:s0 tclass=file permissive=0


Hash: Xorg.bin,bumblebee_t,xserver_log_t,file,unlink

Version-Release number of selected component:
selinux-policy-3.13.1-99.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         3.17.6-300.fc21.x86_64
type:           libreport

Comment 1 Daniel Walsh 2015-01-02 16:21:11 UTC
Should bumblbee be transitioning to xserver_t?

Comment 2 Miroslav Grepl 2015-01-06 14:53:38 UTC

*** This bug has been marked as a duplicate of bug 1176327 ***


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