RE: Changing CHROOT at BIND compile time

2009-06-10 Thread Todd Snyder
Please ignore me - I realized too late that someone else was installing
BIND as I was compiling, and that created the directory I was seeing.

I realize now that BIND wouldn't be creating this ... it was silly of me
to assume that.

Cheers,

Todd.

-Original Message-
From: bind-users-boun...@lists.isc.org
[mailto:bind-users-boun...@lists.isc.org] On Behalf Of Todd Snyder
Sent: Wednesday, June 10, 2009 11:45 AM
To: bind-users@lists.isc.org
Subject: Changing CHROOT at BIND compile time

Good day,

I am working at building BIND, and I will admit right now that I am not
much of a developer.  I noticed that when you compile/make/install BIND,
it creates /var/named/chroot as the default chroot jail.  We don't use
that particular standard, and have been simply moving things afterwards.


However, I'm wondering if there is a way to define, at compile time,
where the chroot will be created, so that we don't have to do the
intermediate movement step?  I've been trying to dig through the
configure script, and through the Makefile to find this, but as I said
before, I'm not much of a developer, and I'm not really familiar with
the processes.

I'm guessing that there must be a way to change this, as everything is
just makefiles/source at compile time, but I am not sure where to look.

Thanks much,

Todd.


-
This transmission (including any attachments) may contain confidential
information, privileged material (including material protected by the
solicitor-client or other applicable privileges), or constitute
non-public information. Any use of this information by anyone other than
the intended recipient is prohibited. If you have received this
transmission in error, please immediately reply to the sender and delete
this information from your system. Use, dissemination, distribution, or
reproduction of this transmission by unintended recipients is not
authorized and may be unlawful.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Changing CHROOT at BIND compile time

2009-06-10 Thread Jeremy C. Reed
On Wed, 10 Jun 2009, Todd Snyder wrote:

> I am working at building BIND, and I will admit right now that I am not
> much of a developer.  I noticed that when you compile/make/install BIND,
> it creates /var/named/chroot as the default chroot jail.  We don't use
> that particular standard, and have been simply moving things afterwards.

BIND doesn't create a chroot directory. BIND doesn't have a default chroot 
directory.

I think you are seeing that from something else.

> However, I'm wondering if there is a way to define, at compile time,
> where the chroot will be created, so that we don't have to do the
> intermediate movement step?  I've been trying to dig through the
> configure script, and through the Makefile to find this, but as I said
> before, I'm not much of a developer, and I'm not really familiar with
> the processes.
> 
> I'm guessing that there must be a way to change this, as everything is
> just makefiles/source at compile time, but I am not sure where to look.

named doesn't create the chroot directory.

The chroot directory is defined on the named command line with -t switch.

We currently don't have option to define this at compile time. Start 
looking at the ns_g_chrootdir in the code.



  Jeremy C. Reed
  ISC
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users