El mié, 16-09-2009 a las 23:31 -0400, Barry Margolin escribió: > In article <mailman.515.1253137285.14796.bind-us...@lists.isc.org>, > Robert Spangler <mli...@zoominternet.net> wrote: > > > On Wednesday 16 September 2009 02:52, Marcos Lorenzo de Santiago wrote: > > > > > El mar, 15-09-2009 a las 17:27 -0400, Robert Spangler escribió: > > > > On Tuesday 15 September 2009 08:16, Frank Stanek wrote: > > > > > Please forgive my naivety if this is totally wrong but > > > > > I don't have a chrooted bind environment to verify this atm. > > > > > > > > I run a chroot environment > > > > > > > > > But doesn't the init script in some distributions copy the > > > > > configuration files (including zone files) into the chroot > > > > > joil because bind cannot access them in /etc from there? > > > > > > > > Not that I am aware of. If you know of a distro that does this let us > > > > know. A chroot'ed bind has no knowledge of anything outside of it's > > > > chroot environment so the files have to exist there. > > > > > > I just link the chrooted file named.conf to /etc/bind/named.conf, so the > > > file in /etc is actually a link to the file within then chrooted > > > environment. > > > > In my environment I have the other way. named.conf, named.zones and > > rndc.key > > in /etc are linked to the chroot enviroment. > > If you're talking about hard links, there is no directionality. All > hard links are equivalent pointers to the same inode.
That can only be done on files. > > Symbolic links, on the other hand, are pointers from one filename to > another. A symbolic link in a chroot environment can't point outside of > it, because the target is interpreted relative to the chroot. That's why I said I make the link in /etc, not in the jail as it would point to a dir that doesn't exist in the jail. > > _______________________________________________ > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users -- ,-----------------------------------------------------------------------. | "...very few phenomena can pull someone out of Deep Hack Mode, with | | two noted exceptions: being struck by lightning, or worse, your | | *computer* being struck by lightning." | | (By Matt Welsh) | |-----------------------------------------------------------------------| | Técnico de Sistemas | | | Departamento de Informática | Debian GNU/Linux Powerer | | Ayuntamiento de Getafe | .--. | |--------------------------------------------| |o_o | | | _________ | .''`. |:_/ | | | |~~ @| Marcos Lorenzo de Santiago | : :' : // \ \ | | | ==== | marcos.lore...@ayto-getafe.org | `. `' (| | ) | | |_________| Teléfono: (+34) 91-202-79-48 | `- /'\_ _/`\ | | Móvil: (+34) 608-300-935 | \___)=(___/ | | | | `-----------------------------------------------------------------------' _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users