If you want to be sure, you can check the expanded source code with starting syslog-ng syslog-ng <args> --preprocess-into=/tmp/expanded-config.txt
or by calling
./syslog-ng-ctl config -p
to get the expanded config of a running instance.
> Can I force syslog-ng to open /dev/log socket in this case or have I to
configure it explicitly?
Unfortunately currently there is no way to influence system() source this way. You need to add the unix-dgram source for /dev/log manually.
Br,
Antal
From: syslog-ng <syslog-ng-bounces@lists.balabit.hu> on behalf of Matus UHLAR - fantomas <uhlar@fantomas.sk> Sent: Wednesday, March 18, 2020 12:15 To: syslog-ng@lists.balabit.hu <syslog-ng@lists.balabit.hu> Subject: [syslog-ng] use /dev/log on systemd machines
CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.
Hello,
if I understand properly, the system() source opens /dev/log socket when
machine does not run systemd, am I right?
Can I force syslog-ng to open /dev/log socket in this case or have I to
configure it explicitly?