Re: [SLE] How to configure ORDER of runlevel services?

From: Scott Leighton (helphand_at_pacbell.net)
Date: 08/30/04

  • Next message: Sid Boyce: "Re: [SLE] sudden sound problem"
    To: suse-linux-e@suse.com
    Date: Sun, 29 Aug 2004 18:56:23 -0700
    
    

    On Sunday 29 August 2004 6:24 pm, Chris Carlen wrote:
    > Hi:
    >
    > My MatLab flexlm script fails at boot because the install script put it
    > as the first service to start, but it needs network up. It works fine
    > if I start it manually after the system is up.
    >
    > I never realized that there seems to be no way to control the ORDER of
    > services in the Yast|System|Runlevel Editor.
    >
    > Obviously I can do it by hand by changing the symlinks, but jeez, I
    > think this is a serious deficiency. Certainly it is very important the
    > order in which *some* services are started.
    >
    > Am I missing something? Shouldn't this be tweakable in Yast?

      Not in Yast, in the script itself. Your MatLab script needs to
    specify the services it needs to exist before starting, then
    insserv will take care of ordering the startup appropriately.

      Look at /etc/init.d/skeleton for an explanation, basically,
    the Matlab script needs

    # Required-Start: $network

      In its init block.

      Scott

    -- 
    POPFile, the OpenSource EMail Classifier
    http://popfile.sourceforge.net/
    Linux 2.6.5-7.104-default x86_64
    -- 
    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
    

  • Next message: Sid Boyce: "Re: [SLE] sudden sound problem"

    Relevant Pages

    • Re: [opensuse] Only root can use scanner on SuSE 10.2
      ... unattended checklist ending with "Detecting USB and SCSI scanners" ... I assume you accepted yast proposal. ... but I can't find any such script or documentation in any of the three ...
      (SuSE)
    • Re: [opensuse] adding links in /etc/init.d/rc*.d/
      ... I'd set it to run in runlevel 3. ... I'd also use YaST to start and stop the service. ... top) add names all the services you want to start before this script. ... Then run either insserv or yast system services module to enable the ...
      (SuSE)
    • Re: [SLE] network install over ssh
      ... directory where YaST writes the stage 2 boot script, ... #2, suspend YaST, switch back to #3 and edit the script in such a way ... you switch back to #2 to resume YaST and allow ...
      (SuSE)
    • SPAM: Re: [SLE] Starting programs at boot - first time at doing this
      ... In SuSE Linux those symlinks can be erased by Yast at the first chance it ... The script should be created according to a certain syntax shown in ...
      (SuSE)
    • Re: [SLE] YOU Problem on SuSE 10
      ... The script gives you URLs based on geography. ... YaST will send this location to the suseservers.cgi script so you can get ... mirror servers that are close to you geographically. ...
      (SuSE)