Re: [SLE] Forcing start order of init scripts
From: Ken Schneider (suse-list_at_bout-tyme.net)
Date: 07/19/05
- Previous message: Felix Miata: "Re: [SLE] Motherboard for SuSE 9.3"
- In reply to: Greg Freemyer: "Re: [SLE] Forcing start order of init scripts"
- Next in thread: Michael W Cocke: "Re: [SLE] Forcing start order of init scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: suse-linux-e@suse.com Date: Mon, 18 Jul 2005 19:19:53 -0400
On Mon, 2005-07-18 at 15:34 -0400, Greg Freemyer wrote:
> On 7/18/05, Dylan <dylan@dylan.me.uk> wrote:
> > Dear List,
> >
> > I use NIS to distribute /etc/hosts for lan hostname lookup. This works
> > fine for all but one machine. For some reason, ypbind is not running on
> > that machine until after xntpd tries to resolve my gateway's hostname
> > to get initial time sync.
> >
> > Can I force /etc/init.d/xntpd to wait until ypbind is running? How?
> >
> > Cheers
> >
> The order of the init scripts running is controlled by the links in
> /etc/init.d/rc3.d, etc.
>
> They are run in alphabetical order.
>
> So S10* is run before S20*, etc.
>
> If you need to re-order some scripts, just rename them appropriately.
> (Be sure not to change the first letter, the S is for Start and K is
> for Kill. Only S* and K* links get run at startup/shutdown.
>
> If you do any renaming, I would go into all of the rc?.d directories
> and do the same renames.
>
> FYI: I don't know how maintainable this solution is, so maybe someone
> knows a more maintainable solution.
>
If you are using SuSE 9.2 or 9.3 it will not work that way. If you want
to reorder the start sequence of the scripts take a look at the
beginning of the scripts and look for the Requires: line. This
determines which scripts run before others. Simply changes the links
will not keep after SuSEconfig is run.
P.S. Greg, please only reply to the list.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Felix Miata: "Re: [SLE] Motherboard for SuSE 9.3"
- In reply to: Greg Freemyer: "Re: [SLE] Forcing start order of init scripts"
- Next in thread: Michael W Cocke: "Re: [SLE] Forcing start order of init scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|