Can not create a unix socket with imuxsock configuration in rsyslog.conf

Solution Verified - Updated -


  • I'm using imuxsock to create a unix socket to listen on the message from other application.
  • I expected that the unix socket was created on starting rsyslogd, but it failed with:
Jan 1 00:00:00 hostname rsyslogd: cannot create '/test/mylog.socket': Permission denied
  • /test has a proper permission. I cannot disable SELinux for testing.
  • I want to know the root cause.


Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content