Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 11:44:53 -0700 (PDT)
From:      dima@rdy.com (Dima Ruban)
To:        Feisal Mohammed <Feisal.O.Mohammed@uwi.tt>
Cc:        FreeBSD-security Mailing List <freebsd-security@FreeBSD.ORG>
Subject:   Re: pid file for named
Message-ID:  <200005161844.LAA71684@sivka.rdy.com>
In-Reply-To: <39219248.7628FC0A@uwi.tt> from Feisal Mohammed at "May 16, 2000 02:24:09 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Feisal Mohammed writes:
> Dima Ruban wrote:
> > 
> > Frank Tobin writes:
> > > One often wishes to run daemons such as named under other users, e.g.,
> > > bind:bind.  In order to allow bind to write out zones and associated fun
> > > stuff correctly, one then does a
> > >
> > > chmod -R bind:bind /etc/named
> > >
> > > However, the pid file, /var/run/named.pid, which named tries to write out
> > 
> > You can set it in named.conf:
> > 
> > options {
> >         ...
> >         pid-file "/etc/namedb/run/named.pid";
> >         ...
> > };
> > 
> > However, this will break "ncd", since it's looking for /var/run/named.pid
> > instead of extracting current "pid-file" value from the named.conf.
> > 
> > -- dima
> > 
> 
> That can be fixed as follows, I have two named running
> one on the inside interface and the other on the outside
> interface.

It doesn't do much good, since you still have to type:
ndc -c /var/run/ndc-inside whatever_command_you_want

What I've meant is that ndc should have a simple parsing capabilities
to extract most of the information it needs from named.conf

> 
> -Feisal
> 

-- dima


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005161844.LAA71684>