Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543758 - app-admin/syslog-ng - fails to start with remote logging and DNS
Summary: app-admin/syslog-ng - fails to start with remote logging and DNS
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-19 08:51 UTC by Tomáš Mózes
Modified: 2015-03-19 08:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.