PDA

View Full Version : ensure runlevel boot facility starts after other boot facili



animati
25-Jul-2012, 16:25
How could I ensure that a runlevel boot facility starts after other boot facility? And how could I test if that works?

Magic31
26-Jul-2012, 07:32
How could I ensure that a runlevel boot facility starts after other boot facility? And how could I test if that works?

If you want to change the order in how certain services are started, you can modify the "# Should-Start:" line found in the scripts found in /etc/init.d (and where needed also adjust the "# Should-Stop:" line).

When you have changed that reinsert the daemon(s) for which you have made modifications by running "chkconfig [deamon name] off" followed by "chkconfig [deamon name] on". This sets the daemon start and stop links for each runlevel in correct order.
You can see the order of the links for each runlevel in /etc/init/d/rcX.d , where X is the runlevel number. Service start links start with S and stop links start with K where the number specifies the order in which that link should be called.

Hope that helps,
Willem

smflood
26-Jul-2012, 14:52
On 26/07/2012 07:34, Magic31 wrote:

> If you want to change the order in how certain services are started,
> you can modify the "# Should-Start:" line found in the scripts found in
> /etc/init.d (and where needed also adjust the "# Should-Stop:" line).
>
> When you have changed that reinsert the daemon(s) for which you have
> made modifications by running "chkconfig [deamon name] off" followed
> by "chkconfig [deamon name] on". This sets the daemon start and stop
> links for each runlevel in correct order.
> You can see the order of the links for each runlevel in
> /etc/init/d/rcX.d , where X is the runlevel number. Service start links
> start with S and stop links start with K where the number specifies the
> order in which that link should be called.

See also http://www.suse.com/support/kb/doc.php?id=7002295

HTH.
--
Simon
Novell/SUSE/NetIQ Knowledge Partner

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------

Magic31
26-Jul-2012, 16:16
See also http://www.suse.com/support/kb/doc.php?id=7002295



Nice link Simon, where do you keep all these links indexed? ;-)

-Willem

smflood
26-Jul-2012, 17:17
On 26/07/2012 16:24, Magic31 wrote:

> Nice link Simon, where do you keep all these links indexed? ;-)

http://lmgtfy.com/?q=Manipulating+the+start+and+stop+order+of+Linux+ services

and since this is a SUSE forum I changed www.novell.com to www.suse.com! ;-)
--
Simon
Novell/SUSE/NetIQ Knowledge Partner

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------

Magic31
26-Jul-2012, 21:58
On 26/07/2012 16:24, Magic31 wrote:

> Nice link Simon, where do you keep all these links indexed? ;-)

http://lmgtfy.com/?q=Manipulating+the+start+and+stop+order+of+Linux+ services

and since this is a SUSE forum I changed www.novell.com to www.suse.com! ;-)
--
Simon
Novell/SUSE/NetIQ Knowledge Partner

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------

Oh man... that is geeky! :-)