Rene Rivera wrote:
Are there docs on how a symlink in a chroot should work? I'd gladly RTFM :-)

I should say I discounted doing the symlink in the other direction which would obviously work, as that would move my configuration files from /export to /var/named. Which would prevent them from getting backed up, etc.

As for chrooting to /export, it has two cons: a) I'd have to recreate the /var/named structure, and b) It's about as insecure as chrooting to "/".

I'm starting to think that the only option left is to go ahead and chroot to /export/config/named. And I loathe to duplicate the named setup that is in /etc/rc. So I'll have to replace /var/named with a symlink to /export/named/config. With that in mind is there any chance that /etc/rc could be changed in the future to allow for an rc.conf.local setting to change "/var/named". That way I could set it to "/export/named/config" for example and it would magically work. (assuming /etc/rc would also create the ./etc, ./dev, and ./dev/log entries as needed).


--
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

Reply via email to