Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231238 - syslog-ng prevents bind from starting if using remote logging
Summary: syslog-ng prevents bind from starting if using remote logging
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 23:19 UTC by David Sparks
Modified: 2008-12-26 21:38 UTC (History)
2 users (show)

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 David Sparks 2008-07-08 23:19:57 UTC
I recently noticed that I couldn't get my bind servers to start if they do remote logging because they try to resolve the remote logger before starting.  Since I was bringing up the network after a power outage there were no running bind servers anywhere.

The remote sysloging is done like this in syslog-ng.conf:
destination syslog      { tcp("syslog" port(5000)); };


uk-ns1 src # /etc/init.d/named start
Error resolving hostname; host='syslog'
 * Starting syslog-ng ...
Error resolving hostname; host='syslog'
No destination address set;
 * Failed to start syslog-ng                                              [ !! ]
uk-ns1 src #


Workaround:
uk-ns1 src # /etc/init.d/named --nodeps start
 * Starting chrooted named ...                                            [ ok ]


uk-ns1 src # emerge --version
Portage 2.1.4.4 (default-linux/x86/2006.1/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686)
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2008-07-24 21:56:25 UTC
According to the changelog, this issue has been fixed in 2.1_beta1, released in April.
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2008-12-26 21:31:53 UTC
(In reply to comment #1)
> According to the changelog, this issue has been fixed in 2.1_beta1, released in
> April.
> 

so we can close this one, right?
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2008-12-26 21:35:09 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > According to the changelog, this issue has been fixed in 2.1_beta1, released in
> > April.
> > 
> 
> so we can close this one, right?
> 

Yeah, I think so. I'm not the maintainer though... ;-)
Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2008-12-26 21:38:34 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > According to the changelog, this issue has been fixed in 2.1_beta1, released in
> > > April.
> > > 
> > 
> > so we can close this one, right?
> > 
>
> Yeah, I think so. I'm not the maintainer though... ;-)
> 

doing so then ;)