[syslog-ng] No "-n" switch for syslog-ng?

Gergely Nagy algernon at balabit.hu
Sat Feb 23 10:52:35 CET 2013


P Levine <nsane457 at gmail.com> writes:

> I've been getting many "syslog-ng.service start request repeated too
> quickly..."
> issues in systemd journal .
> The syslog-ng service would always fail.
> I noticed there seems to be a bug in which systemd executes syslog-ng with
> the "-n" flag.
>
> I recently posted the bug here:
> https://bugs.freedesktop.org/show_bug.cgi?id=61324
>
> After modifying lib/gprocess.c to accept "-n" in place of "-F",
> recompiling, and reinstalling, the problem has disappeared and the syslog-ng
> process remains up.
>
> Is this a systemd bug?

Can you show your syslog-ng.service file? I've grepped through the
systemd sources, and didn't find any sign of implicit -n (but I might
have missed it too).

> I have been googling for 2 days to see if it relates to any other bugs and
> have found nothing. I just started using systemd 4 days ago and its my
> impression that syslog-ng has supported systemd for some time. So, could
> there be something on my end causing the issue?

I'm fairly sure this is an issue with one of the unit files. But if it
turns out that systemd does add an implicit -n under some circumstances,
then syslog-ng should support that, for compatibility's sake.

What OS are you running, by the way?

-- 
|8]



More information about the syslog-ng mailing list