<div dir="ltr"><div><div>Hi 
    Lone_Wolf,<br><br></div>Could you pls give the patch a try? Should fix your issue.<br><br></div>Thanks.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 12:43 PM, Juhász, Viktor <span dir="ltr">&lt;<a href="mailto:viktor.juhasz@balabit.com" target="_blank">viktor.juhasz@balabit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>There is a pull request on to 3.6/master:</div><div><br><a href="https://github.com/balabit/syslog-ng/pull/327" target="_blank">https://github.com/balabit/syslog-ng/pull/327</a></div><div><br></div><div>I created it on morning, but it is not listed in the pull requests list</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Viktor<br><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 12:27 PM, Balazs Scheidler <span dir="ltr">&lt;<a href="mailto:bazsi77@gmail.com" target="_blank">bazsi77@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div>On Dec 4, 2014 11:36 AM, &quot;LoneVVolf&quot; &lt;<a href="mailto:lonewolf@xs4all.nl" target="_blank">lonewolf@xs4all.nl</a>&gt; 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>
  
    
  
  <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></div></div><span>______________________________________________________________________________<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>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Bazsi</div>
</div>