Init vs rc scripts, history, different UNIXes


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Init vs rc scripts, history, different UNIXes
# 1  
Old 03-12-2013
Init vs rc scripts, history, different UNIXes

Why not just init? What do /etc/rc*.* scripts, rc*.*d and init*.*d directories and directory trees, etc (ex like svc, startsrc, and on and on) do that init and inittab do not or could not do? Is it just so novice SysAdmins need not mess with init?

Is there an overview anyplace of how start-up evolved and developed in Unix? Is there an authoritative description/comparison of the startup/shutdown/process-management regimens as they exist today in the various Unixes? (Unices?)
# 2  
Old 03-12-2013
Some of it is structural, as there is a different level of service from the O/S when different scripts are called, and each script raises that level of service. When new daemons need to be turned on, they each have an appropriate time to start, before they are needed and after they can get what they need. But some of it is probably accidental, grew like topsy!
# 3  
Old 03-15-2013
init is probably the closest you can get to a "standard" daemon manager.

Solaris for instance has Service Management Facility (SMF) and milestones instead of runlevels, AIX has System Resource Controller (SRC) and it's own set of tools for it, some "cutting-edge" Linux flavours like Fedora don't even use init and have completely replaced it in favor of "systemd", MacOS has "launchd" instead of init, and the list continues... you get the picture.

Last edited by verdepollo; 03-15-2013 at 04:13 PM..
# 4  
Old 03-21-2013
Why do debian and red hat have different package managers? Why are there different desktop window managers? Different projects got started and they took different approaches.

I doubt there is a source that describes all the different startup regimens in detail. It would seem a pretty tedious task to compile and compare them.
# 5  
Old 03-22-2013
UNIX admin is never addressed by POSIX. To get an idea look at the UNIX Rosetta Stone:

Rosetta Stone for Unix
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Prioritizing scripts under /etc/init.d/

Hello Team, I work on IBM TWS ( Tivoli Workload Scheduler ) administration. I have placed TWS service stop and start script under directory /etc/init.d/ in my Linux server and coded email alert when the script has been executed with stop or start parameter . I am receiving email notification... (3 Replies)
Discussion started by: madhuraju
3 Replies

2. UNIX for Dummies Questions & Answers

Init scripts missing . . .

One of our VM machines mysteriously went read-only overnight and as it wasn't being used, thought it would be a good idea to reboot the machine and run fsck on boot, well. . . .. things didn't quite work out that way lol :) Anyway, the machine booted up, but mysteriously had no hostname set,... (2 Replies)
Discussion started by: jimbob01
2 Replies

3. UNIX for Dummies Questions & Answers

Compatibility between UNIXes

Will a program or application that runs in one UNIX run in any UNIX? Shouldn't they? Why not? What are the constraints? What keeps OpenOffice for Solaris from working on a HP-UX box? Wouldn't life be simpler (and thus more eficient) if all UNIXes were «a UNIX» instead of manufacturers' vault? (2 Replies)
Discussion started by: spitzer
2 Replies

4. UNIX for Advanced & Expert Users

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies

5. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

6. UNIX for Advanced & Expert Users

Problem on init 0, execution is the same with init 6

Hi, I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS. When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies

7. Red Hat

Init scripts for tty's under Fedora 13

In the olden days it used to be /etc/inittab. Then it got changed to /etc/event.d/tty* under Fedora 10. Can someone please point out what it is now in Fedora 13? I want to run mgetty which I had configured in Fedora 10 as /etc/event.d/ppp0: # modem - getty # # This service maintains a... (1 Reply)
Discussion started by: druidmatrix
1 Replies

8. Linux

How to I change init levels after typing init 1

Dear all, I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel): 1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies

9. UNIX for Advanced & Expert Users

Init 6 & Init 0 problem

Hi Expert, I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0.. I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies

10. UNIX for Dummies Questions & Answers

init scripts on AIX

Where are they located? (2 Replies)
Discussion started by: 98_1LE
2 Replies
Login or Register to Ask a Question