Re: [syslog-ng] [syslog-ng 3.6.1] booting with openrc, but syslog-ng thinks i boot with sytemd
Hi Lone_Wolf, Could you pls give the patch a try? Should fix your issue. Thanks. On Thu, Dec 4, 2014 at 12:43 PM, Juhász, Viktor <viktor.juhasz@balabit.com> wrote:
Hi,
There is a pull request on to 3.6/master:
https://github.com/balabit/syslog-ng/pull/327
I created it on morning, but it is not listed in the pull requests list
Viktor
On Thu, Dec 4, 2014 at 12:27 PM, Balazs Scheidler <bazsi77@gmail.com> wrote:
Hi,
Viktor could you pls share the fix for this? I know I promised to port it, but got distracted.
Thanks. On Dec 4, 2014 11:36 AM, "LoneVVolf" <lonewolf@xs4all.nl> wrote:
On 04-12-14 09:58, Tibor Benke wrote:
I think you've found a bug in service-management.c:
https://github.com/balabit/syslog-ng/blob/master/lib/service-management.c#L1...
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.
Tibor,
Is that code run during compiling/building or at run-time ? Archlinux developers build packages on machines with an archlinux base installation with systemd installed & active . If service-management.c is executed at build-time, that would explain why syslog-ng tries to use systemd on my system.
Given the multi-platform support of syslog-ng i would expect such checks to be executed at run-time .
2014-12-04 0:04 GMT+01:00 Balazs Scheidler <bazsi77@gmail.com>:
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.
Balazs, thanks for the tip. After the problem is fixed, i'll look into using that.
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
-- Bazsi
On 06-12-14 13:43, Balazs Scheidler wrote:
Hi Lone_Wolf,
Could you pls give the patch a try? Should fix your issue.
Thanks.
On Thu, Dec 4, 2014 at 12:43 PM, Juhász, Viktor <viktor.juhasz@balabit.com <mailto:viktor.juhasz@balabit.com>> wrote:
Hi,
There is a pull request on to 3.6/master:
https://github.com/balabit/syslog-ng/pull/327
I created it on morning, but it is not listed in the pull requests list
Viktor
-- Bazsi
Hi Balasz & Viktor, I've applied the patch to syslog-ng 3.6.1 source code and build it on my secondary system (has a standard archlinux setup that boots with systemd) . Then i installed the patched version on my primary system that boots with openrc, rebooted and everything worked without errors. Lone_Wolf
Hi Lone_Wolf, Thank you for your feedback! BR, Viktor Juhasz On Mon, Dec 8, 2014 at 4:21 PM, LoneVVolf <lonewolf@xs4all.nl> wrote:
On 06-12-14 13:43, Balazs Scheidler wrote:
Hi Lone_Wolf,
Could you pls give the patch a try? Should fix your issue.
Thanks.
On Thu, Dec 4, 2014 at 12:43 PM, Juhász, Viktor <viktor.juhasz@balabit.com
wrote:
Hi,
There is a pull request on to 3.6/master:
https://github.com/balabit/syslog-ng/pull/327
I created it on morning, but it is not listed in the pull requests list
Viktor
-- Bazsi
Hi Balasz & Viktor,
I've applied the patch to syslog-ng 3.6.1 source code and build it on my secondary system (has a standard archlinux setup that boots with systemd) .
Then i installed the patched version on my primary system that boots with openrc, rebooted and everything worked without errors.
Lone_Wolf
participants (3)
-
Balazs Scheidler
-
Juhász, Viktor
-
LoneVVolf