<p dir="ltr">Hi,</p>
<p dir="ltr">Viktor could you pls share the fix for this? I know I promised to port it, but got distracted.</p>
<p dir="ltr">Thanks.</p>
<div class="gmail_quote">On Dec 4, 2014 11:36 AM, &quot;LoneVVolf&quot; &lt;<a href="mailto:lonewolf@xs4all.nl">lonewolf@xs4all.nl</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>On 04-12-14 09:58, Tibor Benke wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">I think you&#39;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" target="_blank">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 &amp; 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 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">&lt;<a href="mailto:bazsi77@gmail.com" target="_blank">bazsi77@gmail.com</a>&gt;</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&#39;ll look
    into using that.<br>
  </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>