Msg from Guillaume LACHENAL: Guillaume,
You might find them if you continue to search recursively through the results.
This is what I've done ! : G> nor ldd on the libs returned by the previous command
that's why I said "might" and not "will" :) ldd's capability in searching shared libraries for dependencies is (maybe depending on the platform in use) not always reliable.
I've set up quite a few chroots for all kinds of services. Experience says, that guessing (i.e. trying to figure out in advance) will usually only save you the first few trace-sessions but almost never make the chrooted service work 100% right away.
Ok
Even though this does not necessarily apply to syslog-ng, also make sure that you test the chrooted service properly. Some software might fail at a later date, when somebody tries to access rarely used functionality, or the software does something automatically (such as a proxy purging its cache or similar things). Cheers, Gregor.