On Wed, 13 Feb 2002, Alain Tesio wrote: > I'm writing a script to chroot services automatically, > I've tested it with bind9, here is the log and the > files I have in the jail, it looks to work.
Looking at the log, I see that your script copies /etc/ld.so.cache to the chroot jail: this is wrong, you should regenerate the cache running ldconfig chrooted in the jail itself, otherwise it will contain references to plenty of libraries that do not exist at all in the jail. All the rest seems pretty correct, I would love to have such a script, as it would make many things terribly easier. Bye Giacomo -- _________________________________________________________________ Giacomo Mulas <[EMAIL PROTECTED], [EMAIL PROTECTED]> _________________________________________________________________ OSSERVATORIO ASTRONOMICO DI CAGLIARI Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA) Tel.: +39 070 71180 216 Fax : +39 070 71180 222 _________________________________________________________________ "When the storms are raging around you, stay right where you are" (Freddy Mercury) _________________________________________________________________