Why can't rsyslog append log files on a Samba file share?
Issue
-
Why can't
rsyslog
append log files on a Samba file share whenSELinux
is enabled?Here is an example of the type of error message observed:
type=AVC msg=audit(08/12/2021 10:22:54.337:991533662) : avc: denied { search } for pid=709187 comm=rs:main Q:Reg name=vsphere dev="dm-3" ino=780140672 scontext=system_u:system _r:syslogd_t:s0 tcontext=system_u:object_r:samba_share_t:s0 tclass=dir permissive=0
Environment
- Red Hat Enterprise Linux
- rsyslog
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.