Bug 861447 - SELinux is preventing /usr/sbin/rsyslogd from 'search' accesses on the directory vm.
Summary: SELinux is preventing /usr/sbin/rsyslogd from 'search' accesses on the direct...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6df6097ae4d4bf57793180395a4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-28 15:49 UTC by dawid
Modified: 2012-10-17 07:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-17 07:54:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-09-28 15:49 UTC, dawid
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-09-28 15:49 UTC, dawid
no flags Details

Description dawid 2012-09-28 15:49:40 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.3.4-5.fc17.x86_64

description:
:SELinux is preventing /usr/sbin/rsyslogd from 'search' accesses on the directory vm.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If aby rsyslogd powinno mieć domyślnie search dostęp do vm directory.
:Then proszę to zgłosić jako błąd.
:Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp.
:Do
:można tymczasowo zezwolić na ten dostęp wykonując polecenia:
:# grep 72733A6D61696E20513A526567 /var/log/audit/audit.log | audit2allow -M mojapolityka
:# semodule -i mojapolityka.pp
:
:Additional Information:
:Source Context                system_u:system_r:syslogd_t:s0
:Target Context                system_u:object_r:sysctl_vm_t:s0
:Target Objects                vm [ dir ]
:Source                        72733A6D61696E20513A526567
:Source Path                   /usr/sbin/rsyslogd
:Port                          <Nieznane>
:Host                          (removed)
:Source RPM Packages           rsyslog-5.8.10-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-121.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7
:                              17:29:34 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    pią, 28 wrz 2012, 16:41:51
:Last Seen                     pią, 28 wrz 2012, 16:44:27
:Local ID                      7827cbb0-8695-4194-802a-65f2477efd4c
:
:Raw Audit Messages
:type=AVC msg=audit(1348850667.880:21): avc:  denied  { search } for  pid=640 comm=72733A6D61696E20513A526567 name="vm" dev="proc" ino=15875 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:sysctl_vm_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1348850667.880:21): arch=x86_64 syscall=open success=no exit=EACCES a0=7f9d772cefa0 a1=80000 a2=0 a3=24750 items=0 ppid=1 pid=640 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=72733A6D61696E20513A526567 exe=/usr/sbin/rsyslogd subj=system_u:system_r:syslogd_t:s0 key=(null)
:
:Hash: 72733A6D61696E20513A526567,syslogd_t,sysctl_vm_t,dir,search
:
:audit2allow
:
:#============= syslogd_t ==============
:allow syslogd_t sysctl_vm_t:dir search;
:
:audit2allow -R
:
:#============= syslogd_t ==============
:allow syslogd_t sysctl_vm_t:dir search;
:

Comment 1 dawid 2012-09-28 15:49:43 UTC
Created attachment 618658 [details]
File: type

Comment 2 dawid 2012-09-28 15:49:45 UTC
Created attachment 618659 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-09-28 16:02:15 UTC
I have no idea what is going on here?  You have a command running within syslog
"72733A6D61696E20513A526567" that is trying to search through sysctl_vm_t?

Comment 4 Miroslav Grepl 2012-10-17 07:54:07 UTC
Are you able to reproduce it? If yes, please reopen the bug. Thank you.


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