mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
syslog-ng: detect disabled IPv6 on loopback and fallback to IPv4
Binding in default to IPv6 is preferable but it can be disabled in
kernel and that prevents syslog-ng to start. This setup should not be
that common but syslog is very important service and should survive
that.
This introduces new plugin defining source generator
`network_localhost`. This is used instead of original network source.
Signed-off-by: Karel Kočí <cynerd@email.cz>
(cherry picked from commit 43a8f7072e)
This commit is contained in:
committed by
Josef Schlehofer
parent
587e387af7
commit
c7495a2008
@@ -26,7 +26,7 @@ source src {
|
||||
};
|
||||
|
||||
source net {
|
||||
network(ip("::1") port(514) transport(udp) ip-protocol(6));
|
||||
network_localhost();
|
||||
};
|
||||
|
||||
source s_network {
|
||||
|
||||
Reference in New Issue
Block a user