[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bind8+chroot step by step howto



I've done the same thing yesterday, but I'm not what most of you call a
real admin (I just like messing arround in *nix).

what I did, and I don't know if it is a good or even secure or correct
way, is:

1) 'mount -o bind'-ed the /etc/bind to the /etc/bind in the chroot
(so that if i upgrade it all, the chroot gets upgraded too and so I
could keep the config files in /etc. debian policy hack arround? all
config files in /etc?)
2) I added a (chroot)/dev/log and added that to the syslog-ng file (I
guess that with syslog, a simple commandline argument would do the
same.)

I also installed it in /var/lib (because that seems to be the place for
system-deamon homedirs?)

And I don't know for sure, but if I'm right, hardlinking the 2 libs
(libc and ld-linux) would allow an upgrade to upgrade the libs in
the chroot to. (i didn't do that, because, I don't know, I couldn't
find any docs on it, so i just left it out)

It's probabley stupid what I've done, but it looked good that way.
anyway, this topic might be a good call to bring on my questions too.

Steven V.



Reply to: