On Wed, 26 Sep 2001, Christian Kurz wrote: > > > and would instead suggestion to modify the documents stating that all > > > config files should be in /etc to make a exception for $CHROOT. > > > <wears QA hat> > > NEVER. This is not some low-grade distribution where you can go around > > scattering configuration files all over the filesystem. I will fight tooth > > and nail against such an atrocity. > > </wears QA hat> > > Well, then we have to find some other way like cp, rsync, or something > else to keep one copy of the files in /etc and one in $CHROOT/etc. Using > mount --bind is like I stated before, no option.
I did not follow the discussion closely, so please forgive me when I'm posting already discussed facts here. The postfix MTA also uses a chroot and in its init.d file and all files needed by the chrooted processes are copied to the chroot upon start of postfix. I do the same with my chrooted bind8. Are there any problems I missed with cimply copying the files? Mount -bind is no option, hardlinks aren't either. Symlinks from inside the chroot to /etc are not possible, the other direction is imho even more evil than cp. yours, peter -- PGP signed and encrypted | .''`. ** Debian GNU/Linux ** messages preferred. | : :' : By professionals, | `. `' for professionals http://www.palfrader.org/ | `- http://www.debian.org/