"Erich Liebmann" <erich.liebm...@gmx.net> writes: > As mentioned in my previous email, I got the chroot environment working > by manually copying over a number of _required_ libraries. Please note > that "required libraries" in this context refers to libraries required > by the chroot environment to work properly and not necessarily (only) > the dependencies of the binaries passed to 'ldd' in the 'mkchroot.sh' > script. So maybe the 'mkchroot.sh' script simply passes an an incomplete > list of binaries to 'ldd'?
In the absence of any sort of error message or clue as to what problem you're encountering, it's kind of hard to tell. > Would be great if the 'mkchroot.sh' script could copy _all_ required > libraries into the chroot environment, hence produce a _working_ chroot > environment (as it used to be on lenny). Yes, absolutely, that's the goal. > Unfortunately, I am unable to suggest or provide a fix since I don't > fully understand why 'mkchroot.sh' or 'ldd' do not correctly detect > _all_ required libraries on squeeze. I don't need you to come up with that, although of course that would be great. But I'd settle for just an explanation of what wasn't working, how you found that it wasn't working, and what the symptoms were. :) > I still believe it might have to do with the fact that ssh libraries are > already loaded and cached when logging in remotely. Did you log in > remotely via ssh to the systems you checked? I was really kind of hoping, given that you already had this all set up and were encountering a problem, that I could get you to at least send me an error message or something. :) But sure, I went ahead and set up a test environment for a chroot and found one problem: the nss libraries now are linked with libnsl, and the current script doesn't find that. Once I copied libnsl into the chroot, and I'll fix mkchroot.sh to look for that case, scp worked fine with a chroot created by mkchroot.sh. If you're having other problems beyond needing that one additional library, you're going to have to throw me a bone here and give me at least *some* clue about exactly what's failing for you.... -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org