Bug 694302 - SELinux is preventing systemd-kmsg-sy from 'search' accesses on the directory #q.
Summary: SELinux is preventing systemd-kmsg-sy from 'search' accesses on the directory...
Keywords:
Status: CLOSED DUPLICATE of bug 691261
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:008975e4832...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-06 21:43 UTC by Andrew Ross
Modified: 2013-10-20 22:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-07 10:33:06 UTC
Type: ---


Attachments (Terms of Use)

Description Andrew Ross 2011-04-06 21:43:03 UTC
SELinux is preventing systemd-kmsg-sy from 'search' accesses on the directory #q.

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

If you believe that systemd-kmsg-sy should be allowed search access on the #q directory 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-kmsg-sy /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:syslogd_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                #q [ dir ]
Source                        systemd-kmsg-sy
Source Path                   systemd-kmsg-sy
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-10.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar 30 16:55:57
                              UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 07 Apr 2011 07:42:41 AM EST
Last Seen                     Thu 07 Apr 2011 07:42:41 AM EST
Local ID                      53e54829-6dda-4dba-8af8-96d762d04da0

Raw Audit Messages
type=AVC msg=audit(1302126161.190:104): avc:  denied  { search } for  pid=575 comm="systemd-kmsg-sy" name="2371" dev=proc ino=29152 scontext=system_u:system_r:syslogd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir


Hash: systemd-kmsg-sy,syslogd_t,unconfined_t,dir,search

audit2allow

#============= syslogd_t ==============
allow syslogd_t unconfined_t:dir search;

audit2allow -R

#============= syslogd_t ==============
allow syslogd_t unconfined_t:dir search;

Comment 1 Miroslav Grepl 2011-04-07 10:33:06 UTC

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


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