Bug 692703 - SELinux is preventing systemd-readahe from 'write' accesses on the arquivo /usr/sbin/console-kit-daemon.
Summary: SELinux is preventing systemd-readahe from 'write' accesses on the arquivo /u...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fba9888ffdc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-31 21:17 UTC by Alessandra
Modified: 2011-03-31 21:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-31 21:23:59 UTC
Type: ---


Attachments (Terms of Use)

Description Alessandra 2011-03-31 21:17:40 UTC
SELinux is preventing systemd-readahe from 'write' accesses on the arquivo /usr/sbin/console-kit-daemon.

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

If you believe that systemd-readahe should be allowed write access on the console-kit-daemon 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 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:consolekit_exec_t:s0
Target Objects                /usr/sbin/console-kit-daemon [ file ]
Source                        systemd-readahe
Source Path                   systemd-readahe
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           ConsoleKit-0.4.3-3.fc15
Policy RPM                    selinux-policy-3.9.14-2.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux alessandra.sol
                              2.6.38-0.rc5.git1.1.fc15.x86_64 #1 SMP Thu Feb 17
                              01:49:02 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Qui 31 Mar 2011 17:49:32 BRT
Last Seen                     Qui 31 Mar 2011 17:49:32 BRT
Local ID                      e5986a76-2d91-40da-be96-2f3512c4dbbf

Raw Audit Messages
type=AVC msg=audit(1301604572.901:258): avc:  denied  { write } for  pid=408 comm="systemd-readahe" path="/usr/sbin/console-kit-daemon" dev=dm-1 ino=538135 scontext=system_u:system_r:readahead_t:s0 tcontext=system_u:object_r:consolekit_exec_t:s0 tclass=file


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

audit2allow

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

audit2allow -R

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

Comment 1 Daniel Walsh 2011-03-31 21:23:59 UTC
yum update


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