Doug Crompton on Tue, 17 Sep 2002 10:46:12 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Bind - Question again


On Mon, 16 Sep 2002, gabriel rosenkoetter wrote:

> On Mon, Sep 16, 2002 at 02:00:02PM -0400, Doug Crompton wrote:
> > When I boot my system it uses PPP to dialup the server. This is in the
> > inittab - inittab calls a "start-link" script which dials and starts PPP
> > etc. This ensures that PPP is always there as it repswans if it is not. 
> > 
> > The problem is that bind is run before the PPP connection is established
> > in the code and it refuses to listen on any ports that do not exist. 
> 
> So start BIND after PPP.
> 
> You didn't include your inittab listing for pppd, but I'd hazard a
> guess you're starting it only at run level 3 and that there's
> something starting BIND in /etc/init.d/rc2.d. You probably want to
> put pppd at all run levels 2-5 under Linux, if you really want the
> connection to always be up. See inittab(5).
> 
> -- 
> gabriel rosenkoetter
> gr@eclipsed.net
> 

PPP starts in run levels 2-5 with a respawned startup script in inittab.
It does not seem to start until late in the boot process however. After
most everything else is loaded. My default boot is run level 3. I init to
5 manually as needed. 

I am not sure how to make the order change (as someone suggessted) given
that this is run from inittab. This is not a big deal since I can make a
work-around by stopping and starting named after the ppp connection is
established. There has to ber a better way though. I would think that bind
could listen on ports that come up after it is running and not have to be
restarted. I kind of think it is a bind issue.

Doug

****************************
*  Doug Crompton	   *
*  Richboro, PA 18954	   *
*  215-431-6307		   *
*		  	   *
* doug@crompton.com        *
* wa3dsp@wa3dsp.ampr.org   *
* http://www.crompton.com  *
****************************


_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug