chroot and hostname resolution problem [was : Re: [syslog-ng]centralized

Guillaume LACHENAL glachenal@on-x.com
Wed, 6 Nov 2002 11:17:39 +0100


--=_mixed 00391F62C1256C69_=
Content-Type: text/plain; charset="us-ascii"

Ed Ravin wrote :

> Guillaume LACHENAL writes:
>> 
>> can't find ktrace
>
> Ah, you must be using Linux.  Should have said that up front.

Yes.

>> doing 'strace /etc/init.d/syslog-ng start', I can't find something 
>> strange,
>
> Look for "file not found" errors or anything else related to file
> access.

Can't find any error like this

> Is there someone who is running a chrooted syslog-ng running under a
> non root user as a log collector without any (hostname resolution) 
problem 
> ?
>
> I am - but I have "use_dns(no)" in my config.

Could you try with "use_dns(yes)" ?

> How about posting the log - make sure there is no private information
> in it.  If it's too huge put it up on the web somewhere and post the
> URL to the list.

See strace log attached
(I'm running syslog-ng in debug mode with -d -v)


--=_mixed 00391F62C1256C69_=
Content-Type: application/octet-stream; name="strace.log.gz"
Content-Disposition: attachment; filename="strace.log.gz"
Content-Transfer-Encoding: base64

H4sICB/cyD0AA3N0cmFjZS5sb2cA7Vtrb9pIFP2eXzFLpcquCPiFMSuhVUpMgkqhC6RJlUTI2AOx
Ymxkm5Ru6P72vTOGYN42CV2SGoIg9p0z93Hmzh1rBo+w/oCZVBb7eta0TT9jZL0fnuX0ju1eKo2u
195Jeb7m+qlbkMl+QLyCHjTXQx+ytywqIu6o494zHIu2vkB2pHCdjoj1I2eA7YkqlpHxnMzAxZaj
GdBbvd04rdeq39igzTGP1FpdrbUQU3OQN9TvUNe0MHJcZJgu1n3H/cEu4+mafocX0QiedNQFc3xG
SqNHz2/3HQMXm+1KuaGejTlZgstw1TP/wUVJFgtplMlkfgZ2OpbR7ve1AVO7qFbTKLj9pVFvtRvq
yWkafT750v7SqHw9aalwN4042mzECxLHcUe65XiYkbb6ifYUWGOZHfKx9aHrYY9YlZu3KI41gigq
khK2x8WaQRqmbvh8Xq2Wb3j65pbe4uQzvQcG3YgSlwIoMJQryASPfC+6SMgJoiyFnDSmv9Q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