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
/test
has 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, tools, and much more.