Hi Lone_Wolf,

Please check, whether the following directory exists on your system (using openrc):

/run/systemd/system/

We check this directory to determine whether systemd is used. This information can help us to solve your problem.

BR,
Tibor

2014-12-03 14:40 GMT+01:00 LoneVVolf <lonewolf@xs4all.nl>:
Hi,

First i'd like to say i have been using syslog-ng for years and am very pleased with it.
Thank you for a reliable and stable product.

I'm running archlinux x86_64 and boot with openrc 0.13.5 . I do have systemd installed so i can use udev functionality.
Today I updated from syslog-ng 3.5.6 to 3.6.1 and found this in rc.log :

[2014-12-03T13:27:21.835298] Using /dev/log Unix socket with systemd is not possible. Changing to systemd-syslog source, which supports socket activation.;
 * Starting syslog-ng ...
[2014-12-03T13:27:21.890729] Using /dev/log Unix socket with systemd is not possible. Changing to systemd-syslog source, which supports socket activation.;
[2014-12-03T13:27:21.902289] Failed to acquire /run/systemd/journal/syslog socket, disabling systemd-syslog source;
 [ ok ]

This is the source part of my /etc/syslog-ng/syslog-ng.conf
source src {
  unix-dgram("/dev/log");
  internal();
  file("/proc/kmsg");
};


I use the official archlinux syslog-ng package, https://www.archlinux.org/packages/extra/x86_64/syslog-ng/ .

It uses these build flags :
  ./configure --prefix=/usr --sysconfdir=/etc/syslog-ng --libexecdir=/usr/lib \
    --sbindir=/usr/bin --localstatedir=/var/lib/syslog-ng --datadir=/usr/share/syslog-ng \
    --with-pidfile-dir=/run --disable-spoof-source --enable-ipv6 --enable-sql \
    --enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system

syslog-ng does appear to work normally, but i'd like to get rid of the incorrect error message.

Lone_Wolf

(full rc.log & syslog-ng.conf attached)

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq