Re: [Cooker] bind-9.2.3-1mdk

2003-10-27 Thread Florin
[EMAIL PROTECTED] (Oden Eriksson) writes:

> Hi (Florin).
> 
> For some reason this happens in a real world situation:
> 
> # /etc/rc.d/init.d/named restart
> Stopping named: [  OK  ]
> named: already [EMAIL PROTECTED] init.d]#
> 
> # /etc/rc.d/init.d/named restart
> Stopping named: rndc: connect failed: connection refused
> [FAILED]
> Starting named: [  OK  ]
> 
> Proposed fix:
> 
> --- /etc/rc.d/init.d/named  2003-10-24 21:13:10.0 +0200
> +++ /etc/rc.d/init.d/named.oden 2003-10-25 18:32:33.0 +0200
> @@ -54,6 +54,7 @@
>  echo
>  return $RETVAL
>  }
> +   sleep 1
>  success
>  echo
>  return $RETVAL

indeed, the rndc command needs some time to shutdown named ... I'll add
sleep 2 (RedHat does the same thing actually) ... fixed in 2mdk

thx for the bug report ... 
-- 
Florin  http://www.mandrakesoft.com
http://people.mandrakesoft.com/~florin/



Re: [Cooker] bind-9.2.3-1mdk

2003-10-27 Thread Oden Eriksson
måndagen den 27 oktober 2003 11.46 skrev Florin:
> [EMAIL PROTECTED] (Oden Eriksson) writes:
> > Hi (Florin).
> >
> > For some reason this happens in a real world situation:
> >
> > # /etc/rc.d/init.d/named restart
> > Stopping named: [  OK  ]
> > named: already [EMAIL PROTECTED] init.d]#
> >
> > # /etc/rc.d/init.d/named restart
> > Stopping named: rndc: connect failed: connection refused
> > [FAILED]
> > Starting named: [  OK  ]
> >
> > Proposed fix:
> >
> > --- /etc/rc.d/init.d/named  2003-10-24 21:13:10.0 +0200
> > +++ /etc/rc.d/init.d/named.oden 2003-10-25 18:32:33.0 +0200
> > @@ -54,6 +54,7 @@
> >  echo
> >  return $RETVAL
> >  }
> > +   sleep 1
> >  success
> >  echo
> >  return $RETVAL
>
> indeed, the rndc command needs some time to shutdown named ... I'll add
> sleep 2 (RedHat does the same thing actually) ... fixed in 2mdk

Aha, ok.

> thx for the bug report ...

Thanks for fixing (and listening...).