Bug 669669 - SELinux is preventing systemd-readahe from 'write' accesses on the file /sbin/rsyslogd.
Summary: SELinux is preventing systemd-readahe from 'write' accesses on the file /sbin...
Keywords:
Status: CLOSED DUPLICATE of bug 669672
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fac56b48c03...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-14 11:55 UTC by satellitgo
Modified: 2011-01-14 14:15 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-14 14:15:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description satellitgo 2011-01-14 11:55:29 UTC
SELinux is preventing systemd-readahe from 'write' accesses on the file /sbin/rsyslogd.

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

If you believe that systemd-readahe should be allowed write access on the rsyslogd 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:syslogd_exec_t:s0
Target Objects                /sbin/rsyslogd [ file ]
Source                        systemd-readahe
Source Path                   systemd-readahe
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           rsyslog-5.6.2-1.fc15
Policy RPM                    selinux-policy-3.9.12-6.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.37-2.fc15.i686 #1
                              SMP Fri Jan 7 15:46:20 UTC 2011 i686 i686
Alert Count                   1
First Seen                    Fri 14 Jan 2011 08:49:17 AM EST
Last Seen                     Fri 14 Jan 2011 08:49:17 AM EST
Local ID                      bf314213-bf48-4056-a1cd-fe4fc3ea6cbb

Raw Audit Messages
type=AVC msg=audit(1295012957.60:130): avc:  denied  { write } for  pid=444 comm="systemd-readahe" path="/sbin/rsyslogd" dev=dm-0 ino=36717 scontext=system_u:system_r:readahead_t:s0 tcontext=system_u:object_r:syslogd_exec_t:s0 tclass=file


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

audit2allow

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

audit2allow -R

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

Comment 1 Daniel Walsh 2011-01-14 14:15:22 UTC

*** 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.