Bug 861447 - SELinux is preventing /usr/sbin/rsyslogd from 'search' accesses on the directory vm.
SELinux is preventing /usr/sbin/rsyslogd from 'search' accesses on the direct...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-09-28 11:49 EDT by dawid
Modified: 2012-10-17 03:54 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-10-17 03:54:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description dawid 2012-09-28 11:49:40 EDT
Additional info:
libreport version: 2.0.13
kernel:         3.3.4-5.fc17.x86_64

: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.
: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
:#============= 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 11:49:43 EDT
Created attachment 618658 [details]
File: type
Comment 2 dawid 2012-09-28 11:49:45 EDT
Created attachment 618659 [details]
File: hashmarkername
Comment 3 Daniel Walsh 2012-09-28 12:02:15 EDT
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 03:54:07 EDT
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.