Gergely Nagy wrote on 26/11/14 10:04: > 3) Disable syslog forwarding if syslog-ng is installed > > Not sure how this could be achieved, because journald.conf does not > belong to the syslog-ng package, therefore I can't fiddle its > settings from there. (Technically, I could, but I won't, that'd be > extremely rude.)
I think there were some patches recently that talked about added ".d/" dir support for such config files. Thus syslog-ng could ship a /etc/systemd/journal.conf.d/syslog-ng.conf file which did this (or preferably a /usr/lib/systemd/journal.conf.d/syslog-ng.conf file so it follows best practice guidelines for stateless systems) See the patches by Josh Triplett: [PATCH 1/2] Introduce CONF_DIRS_NULSTR helper to define standard conf dirs [PATCH 2/2] logind: Support logind.conf.d directories in the usual search paths The latter patch just adds support in logind, but mentions the likes of journald too as further work if approved. I think this approach would solve your problem fairly cleanly. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
