Date: Sun, 15 Sep 2002 21:57:27 +0100 From: Ceri Davies <setantae@submonkey.net> To: sroberts@dsl.pipex.com Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: ndc status error from new named set-up Message-ID: <20020915205727.GA24115@submonkey.net> In-Reply-To: <1032122958.376.18.camel@Demon.vickiandstacey.com> References: <1032122004.376.10.camel@Demon.vickiandstacey.com> <20020915204052.GA23453@submonkey.net> <1032122958.376.18.camel@Demon.vickiandstacey.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 15, 2002 at 09:49:17PM +0100, Stacey Roberts wrote:
> Gosh, Thanks for the timely reply!
>
> I *did* perform run this when setting up bind just now:
> > # ln -sf /etc/namedb/var/run/ndc /var/run/ndc
> But I thought that somehow running the command allows me to side-step
> that issue. Oh well..,
It does, but /var/run gets emptied on a reboot, so you have to do it on
every boot.
> I figure that including a command in root's cron is the best way to
> accomplish this. Do I need to include that symlink command in the cron
> job, as in:
> /bin/ln -sf /etc/namedb/var/run/ndc /var/run/ndc
That's right, yes. I have :
{root@rhadamanth}-{~} # crontab -l |grep ndc
@reboot /bin/ln -sf /etc/namedb/var/run/ndc /var/run/
> Thanks again for your quick response Ceri, hope to hear from you again
> on what I've put here.
You're welcome.
Ceri
--
you can't see when light's so strong
you can't see when light is gone
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020915205727.GA24115>
