rsyslog error due to SELinux

Solution Unverified - Updated -

Issue

  • Built a new RH 6.4 test server and running into a SELinux issue:
rsyslogd: cannot create '/user/log/test.log': Permission denied
  • SELinux prevents loging into non-root filesystem:
setroubleshoot: SELinux is preventing /sbin/rsyslogd from append access on the file /user/log/test.log. For complete SELinux messages. run sealert -l 1459148d-5efe-49a6-adaa-6b6d06676715

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.