Bug 677763 - SELinux is preventing systemd-readahe from 'write' accesses on the file /usr/bin/Xorg.
SELinux is preventing systemd-readahe from 'write' accesses on the file /usr/...
Status: CLOSED DUPLICATE of bug 669672
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2011-02-15 13:57 EST by James Laska
Modified: 2013-09-02 02:53 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-02-16 09:48:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Laska 2011-02-15 13:57:34 EST
SELinux is preventing systemd-readahe from 'write' accesses on the file /usr/bin/Xorg.

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

If you believe that systemd-readahe should be allowed write access on the Xorg file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# grep systemd-readahe /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:readahead_t:s0
Target Context                system_u:object_r:xserver_exec_t:s0
Target Objects                /usr/bin/Xorg [ file ]
Source                        systemd-readahe
Source Path                   systemd-readahe
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           xorg-x11-server-Xorg-
Policy RPM                    selinux-policy-3.9.14-2.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38-0.rc4.git0.2.fc15.x86_64 #1
                              SMP Tue Feb 8 04:08:32 UTC 2011 x86_64 x86_64
Alert Count                   5
First Seen                    Tue 15 Feb 2011 09:55:02 AM EST
Last Seen                     Tue 15 Feb 2011 11:38:07 AM EST
Local ID                      2dd509ad-6e3f-42d3-9cd7-cbb96e22dbdc

Raw Audit Messages
type=AVC msg=audit(1297787887.552:337): avc:  denied  { write } for  pid=599 comm="systemd-readahe" path="/usr/bin/Xorg" dev=dm-3 ino=369705 scontext=system_u:system_r:readahead_t:s0 tcontext=system_u:object_r:xserver_exec_t:s0 tclass=file

Hash: systemd-readahe,readahead_t,xserver_exec_t,file,write


#============= readahead_t ==============
allow readahead_t xserver_exec_t:file write;

audit2allow -R

#============= readahead_t ==============
allow readahead_t xserver_exec_t:file write;
Comment 1 Miroslav Grepl 2011-02-16 09:48:56 EST

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

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