<div dir="ltr">I think you've found a bug in service-management.c:<div><br></div><div><a href="https://github.com/balabit/syslog-ng/blob/master/lib/service-management.c#L158-L171">https://github.com/balabit/syslog-ng/blob/master/lib/service-management.c#L158-L171</a><br></div><div><br></div><div>If you have syslog-ng compiled with --enable-systemd, it will always be the active service-management unit. I thought we addressed this in a patch by jviktor.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-04 0:04 GMT+01:00 Balazs Scheidler <span dir="ltr"><<a href="mailto:bazsi77@gmail.com" target="_blank">bazsi77@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Also, you might want to use the system() source, which tries to determine the optimal setup to fetch local messages. So no need to use I unix-dgram or internal directly.</p>
<div class="gmail_quote"><div><div class="h5">On Dec 3, 2014 11:27 PM, "LoneVVolf" <<a href="mailto:lonewolf@xs4all.nl" target="_blank">lonewolf@xs4all.nl</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div bgcolor="#FFFFFF" text="#000000">
<div>On 03-12-14 17:15, Tibor Benke wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi <span style="font-family:arial,sans-serif;font-size:13px">Lone_Wolf,</span>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">Please
check, whether the following directory exists on your system
(using openrc):</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
/run/systemd/system/<br>
<div><br>
</div>
<div>We check this directory to determine whether systemd is
used. This information can help us to solve your problem.</div>
<div><br>
</div>
<div>BR,</div>
<div>Tibor</div>
</div>
</blockquote>
<br>
Tibor, no /run/systemd/system/ folder present on my system.<br>
Below are the contents of my /run folder .<br>
Lone_Wolf<br>
<br>
<small>$ ls -l --group-directories-first /run<br>
total 28<br>
drwxr-xr-x 2 avahi avahi 80 3 dec 13:27 avahi-daemon<br>
drwxr-xr-x 2 clamav clamav 40 3 dec 13:27 clamav<br>
drwxr-xr-x 3 root lp 80 3 dec 13:27 cups<br>
drwxr-xr-x 2 root root 80 3 dec 13:27 dbus<br>
drwxr-xr-x 2 root root 40 3 dec 13:27 initramfs<br>
drwxrwxr-x 5 root uucp 120 3 dec 13:27 lock<br>
drwxr-xr-x 2 root root 40 3 dec 13:27 lvm<br>
drwxr-xr-x 2 root root 60 3 dec 13:27 mount<br>
drwxr-xr-x 2 mysql mysql 40 3 dec 13:27 mysqld<br>
drwxr-xr-x 5 root root 100 3 dec 13:27 network<br>
drwxr-xr-x 2 root root 40 3 dec 13:27 nscd<br>
drwxrwxr-x 14 root root 340 3 dec 13:27 openrc<br>
drwxr-xr-x 2 root root 40 3 dec 13:27 samba<br>
drwx--x--x 2 root root 40 3 dec 13:27 sudo<br>
drwxr-xr-x 2 root root 40 3 dec 13:27 svnserve<br>
drwxr-xr-x 2 root root 60 3 dec 13:27 tmpfiles.d<br>
drwxr-xr-x 6 root root 140 3 dec 13:27 udev<br>
drwx------ 2 root root 40 3 dec 13:28 udisks2<br>
drwxr-xr-x 2 uuidd uuidd 40 3 dec 13:27 uuidd<br>
-rw-r--r-- 1 root root 5 3 dec 13:27 acpid.pid<br>
srw-rw-rw- 1 root root 0 3 dec 13:27 acpid.socket<br>
-rw-r--r-- 1 root root 5 3 dec 13:27 avahi-dnsconfd.pid<br>
-rw-r--r-- 1 root root 5 3 dec 13:27 crond.pid<br>
---------- 1 root root 0 3 dec 13:27 cron.reboot<br>
-rw-r--r-- 1 root root 4 3 dec 13:27 ntpd.pid<br>
srwxr-xr-x 1 root root 0 3 dec 13:27 syslog-ng.ctl<br>
-rw-r--r-- 1 root root 5 3 dec 13:27 syslog-ng.pid<br>
-rw-rw-r-- 1 root utmp 3840 3 dec 23:17 utmp<br>
-rw-r--r-- 1 root root 5 3 dec 13:27 vsftpd.pid<br>
$ <br>
<br>
</small><br>
</div>
<br></div></div><span class="">______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></span></blockquote></div>
<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>