Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 543758

Summary: app-admin/syslog-ng - fails to start with remote logging and DNS
Product: Gentoo Linux Reporter: Tomáš Mózes <hydrapolic>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomáš Mózes 2015-03-19 08:51:56 UTC
With remote logging setup:

destination remote { tcp("remote.example.com"); };
log { source(src); destination(remote); };

and after rebooting the machine, syslog-ng fails to start:

Bringing up interface lo
...
Error resolving hostname; host='remote.example.com'
Error initializing message pipeline;
start-stop-daemon: failed to start '/usr/sbin/syslog-ng'
Failed to start syslog-ng
ERROR: syslog-ng failed to start
...
Bringing up interface xenbr0

Tested with syslog-ng 3.6.2.
Comment 1 Tomáš Mózes 2015-03-19 08:57:42 UTC
I see that /etc/conf.d/syslog-ng is prepared for this, so just needs configuration.