Can not create a unix socket with imuxsock configuration in rsyslog.conf
Issue
- 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
/testhas a proper permission. I cannot disable SELinux for testing.- I want to know the root cause.
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
