LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-18-2006, 03:33 PM   #1
Dave Lerner
Member
 
Registered: May 2005
Location: Florida, USA
Distribution: Pop_OS, Xubuntu
Posts: 152

Rep: Reputation: 44
Question Exiting runlevels


In the article Debian Administration :: An introduction to run-levels, in the section "Transitioning Between Run levels", it is stated that "When you leave a runlevel, nothing happens. All the action takes place when you enter the new run level."

Does the same apply to all linux distributions, or do some distros handle it differently?
 
Old 12-18-2006, 03:48 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
This is common to all Unix and Linux operating systems. When you enter a run level the script that manages that transition runs all of the files that start with K and then runs all of the files that start with S. The Ks kill daemons and application environments and the Ss start daemons and application environments.
 
Old 12-18-2006, 03:49 PM   #3
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
That is how standard init works. It can be different with another initialization system.
 
Old 12-18-2006, 04:10 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by raskin
That is how standard init works. It can be different with another initialization system.
Okay. That's true. You got me.
 
Old 12-18-2006, 04:17 PM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Frankly, I didn't see your reply, just tried to state a short correct answer. But your answer has advantage of more exactly describing how standard init works.
 
Old 12-18-2006, 04:31 PM   #6
Dave Lerner
Member
 
Registered: May 2005
Location: Florida, USA
Distribution: Pop_OS, Xubuntu
Posts: 152

Original Poster
Rep: Reputation: 44
Thanks for the responses.

Currently I'm only concerned with MEPIS 6.0 and Fedora 5, which both use the standard SysV Init.

But MEPIS is based on Ubuntu, which apparently is going to switch to a new init system. I'm not clear on whether that will change the "When you leave a runlevel, nothing happens." behavior, or whether the new init system will even have "runlevels".

Last edited by Dave Lerner; 12-18-2006 at 04:32 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is runlevels? jojojo Linux - Newbie 2 06-06-2006 02:42 PM
Runlevels nin881 Slackware 8 05-21-2005 02:50 AM
RunLevels bcom Mandriva 3 05-31-2004 07:07 PM
runlevels? Computergirl24 Linux - Software 4 12-26-2003 04:45 PM
runlevels kriver Linux - General 1 03-13-2002 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration