On Wed, Nov 06, 2002 at 01:48:31PM +0100, Guillaume LACHENAL wrote:
Gregor Binder wrote : 8254 open("/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 8254 open("/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
and I suppose those libs are needed by the resolver ...
Why 'ldd syslog-ng' does not reported this two files ? (nor ldd on the libs returned by the previous commands)
How could I 'guessed' that I need to copy this files into the jail ?
by using strace ;) those files are loaded dynamically by the libc based on the contents of nsswitch.conf
Now my syslog-ng is resolving almost as I want :
Althougt my $JAIL/etc/nsswitch.conf contains "hosts dns", hostnames are only resolved if they are in $JAIL/etc/hosts ! Amazing ...
I'll continue debugging, I progress ;-)
do you have resolv.conf/host.conf ? -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1