<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04-12-14 09:58, Tibor Benke wrote:<br>
</div>
<blockquote
cite="mid:CA+PZNGUun8o1f866hh5so8-wMtKHKLC5ZdZCzc+tSHLfkun_5g@mail.gmail.com"
type="cite">
<div dir="ltr">I think you've found a bug in service-management.c:
<div><br>
</div>
<div><a moz-do-not-send="true"
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>
</blockquote>
Tibor,<br>
<br>
Is that code run during compiling/building or at run-time ?<br>
Archlinux developers build packages on machines with an archlinux
base installation with systemd installed & active .<br>
If service-management.c is executed at build-time, that would
explain why syslog-ng tries to use systemd on my system.<br>
<br>
Given the multi-platform support of syslog-ng i would expect such
checks to be executed at run-time .<br>
<br>
<br>
<blockquote
cite="mid:CA+PZNGUun8o1f866hh5so8-wMtKHKLC5ZdZCzc+tSHLfkun_5g@mail.gmail.com"
type="cite">
<div dir="ltr">
<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 moz-do-not-send="true"
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>
</blockquote>
</div>
</div>
</blockquote>
Balazs, thanks for the tip. After the problem is fixed, i'll look
into using that.<br>
</body>
</html>