On Jan 12, 2009, at 6:57 AM, Jeremy C. Reed wrote:

On Fri, 9 Jan 2009, Lothar Behrens wrote:

Jan  9 11:55:53 vmhost named[11970]: starting BIND 9.5.0-P2 -t /var/
lib/named -u named

Chrooting to /var/lib/named

Jan  9 11:55:53 vmhost named[11970]: the working directory is not
writable

My working directory is /var/lib/named and the permissions ara as
follows:

Your working directory is /var/lib/named/var/lib/named

As I recall from working with SUSE Linux in the past, that's correct, but it's a symlink. /var/lib/named/var/lib/named -> ../.., or something like that. It links back to /var/lib/named (the chroot dir root) itself.

This way, you can disable the chroot jail and nothing breaks. (/etc/ named.conf is copied into the chroot environment every time you (re)start named with the init script.)

Chris Buxton
Professional Services
Men & Mice

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to