No logs after specifying an unusual port number
Security-Enhanced Linux (SELinux) is a set of kernel and user-space tools enforcing strict access control policies. SELinux rules in Linux distributions cover all aspects of the configuration coming in the syslog-ng
package available in the distribution. But as soon as an unusual port number or directory name is specified in the configuration, syslog-ng
fails to work even with a completely legitimate configuration.
By default, SELinux only allows connections to the default syslog ports. When you have to use any other port for some reason, sending logs to that port will not work. For details on how to fix this issue, see section “Using a different port” in the blog post titled Using syslog-ng with SELinux in enforcing mode.
Last modified June 27, 2023: Moves content/docs to content/ to shorten output url (a5fcf1e)