--- Andrei Popescu <email@example.com> wrote:
> On Thu,30.Oct.08, 12:48:32, Stephen Liu wrote:
> > Hi folks,
> > Debian Etch
> > bind-9.5.0 compiled on source
> > chrooted
> In my very humble opinion, the point of using Debian (as opposed to
> would be that you have packages precompiled and ready to use, so you
> don't have to write init scripts by yourself.
> In case you really, really need to recompile (because the Debian
> disables some options or enables too many) you can always pull the
> sources for the Debian package and recompile that (incorporating
> whatever changes you need).
Thanks for your advice.
I'm following the guide of Postfix Virtual to build a mail server;
It compiles all packages from source. I just follow their steps.
> > Which file I have to edit adding;
> > /etc/init.d/bind9 start
> > so bind9 will start automatically at boot.
> That would be /etc/init.d/bind9
> > # ls /etc/ | grep rc
> > bash.bashrc
> > inputrc
> > nanorc
> > rc.local
> > rc0.d
> > rc1.d
> > rc2.d
> > rc3.d
> > rc4.d
> > rc5.d
> > rc6.d
> > rcS.d
> > wgetrc
> > rc.local ? It is an empty file. Only "exit 0" is there.
> Of course, what did you expect to find here? But if your script is
> specific to a package that it is usually better to use a separate
> There is somewhere a skeleton file which you can use to build your
> script, but I would rather take the script from the official Debian
> package and adapt to my needs.
According to the guide it runs;
#/usr/local/bind/sbin/named -u named -t /usr/local/bind -c
to start bind9
/usr/local/bind/sbin/named -u named -t /usr/local/bind -c
# ls /etc/init.d/ | grep bind9
The official script is not installed because I installed bind9 from
source, I suppose.
Send instant messages to your online friends http://uk.messenger.yahoo.com
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org