You are on page 1of 3

RHEL 6 ditches System V init for Upstart: What Linux admins need to know

YOU'RE LOGGED IN AS: SHIROY PIGAREZ EDIT YOUR PROFILE LOGOUT RSS

News

Enterprise Linux Topics

Tutorials

Expert Advice

White Papers

Blogs

Search

Home > Topics > Linux server distributions > Red Hat Enterprise Linux Server > RHEL 6 ditches System V init for Upstart: What Linux admins need to know

RHEL 6 ditches System V init for Upstart: What Linux admins need to know
Sander van Vugt, Contributor

You May Also Be Interested In...


MORE BACKGROUND Red Hat Enterprise Linux tools digest Red Hat Summit 2010 on SearchEnterpriseLinux.com MORE DETAILS Managing Red Hat using the graphical Service Configuration tool Managing Red Hat Enterprise Linux network settings using NetworkManager

With the release of Red Hat Enterprise Linux (RHEL) 6, Red Hat will use the new Upstart boot service, as a replacement for the old init. In this article you'll learn about the changes to this essential Linux process, and what it means for your work as an administrator. The disadvantage of the old System V init boot procedure is that it was based on runlevel directories that contained massive amounts of scripts that all had to be started. Upstart is event driven, so it contains scripts that are only activated when they are needed, making the boot procedure a lot faster. A well-tuned Linux server that uses Upstart boots significantly faster than an old system using System V init. In an attempt to make it easier to understand, the Upstart service still works with an init process. So you'll still have /sbin/init, which is the mother of all services. But if you have a look at the /etc/inittab file, you'll see that everything has changed. More on init and Upstart Tutorial: Introducing Upstart from Ubuntu

Tip:System V init explained: Understanding the changes from init to Upstart Startng and stopping of The good news, the changes to the boot procedure on services RHEL 6 are minimal. You still work with services that have service scripts in /etc/init.d, and there is still a concept of runlevels. So after adding a service with yum, you can still enable it like you were used to by using the chkconfig command. Also, you can still start it with the service command. But if you are looking for settings that you used to apply from /etc/inittab, you'll see that many things have changed. The only thing that didn't change, is the line that tells your server what runlevel to use by default:

Vendor Resources
Clabby Analytics Research Report - The Mainframe... (Research Content)

MORE

id:5:initdefault:

A Bathwick Group white paper: A foundation for database... (White Paper)

All other items that were previously handled by /etc/inittab are now in individual files in the /etc/init directory (not to be confused with /etc/init.d, which contains the service scripts). Below you can find a short list of the scripts that are used: /etc/init/rcS.conf handles system initialization by starting the most fundamental services /etc/init/rc.conf handles starting the individual runlevels /etc/init/control-alt- defines what should happen when controldelete.conf alt-delete is pressed /etc/init/tty.conf specify how terminals are to be handled and

How To Use Open Source Safely In The Enterprise


(White Paper)

Working With Open Source Companies (White Paper)

GET E-MAIL UPDATES Submit your e-mail below to receive Enterprise Linuxrelated news, tech tips and more, delivered to your inbox.

Linux Desktops High performance computing

http://searchenterpriselinux.techtarget.com/tip/RHEL-6-ditches-System-V-init-for-Upstart-What-Linux-admins-need-to-know[2/1/2012 2:33:22 PM]

RHEL 6 ditches System V init for Upstart: What Linux admins need to know

/etc/init/serial.conf

Webcast Alert

Email address

Apart from these generic files, some additional configuration is in the /etc/sysconfig/init file. Here, some parameters are defined that determine the way that startup messages are formatted. Apart from these not so important settings, there are three lines that are of more interest: AUTOSWAP=no ACTIVE_CONSOLES=/dev/tty[1-6] SINGLE=/sbin/sushell Of these, you can give the first line the value yes, to have your system detect swap devices automatically. Using this option means that you don't have to mount swap devices from /etc/fstab anymore. The ACTIVE_CONSOLES line determines which virtual consoles are created. In most situations, tty[1-6] works fine, but this options allows you to allocate more or less virtual consoles. But be aware that you should never use tty[1-8], because tty7 is reserved for the graphical interface. Last but not least, there is the SINGLE=/sbin/sushell line. This line can have two parameters: /sbin/sushell (the default) which drops you in a root shell after starting single-user mode, or /sbin/sulogin, which launches a login prompt where you have to enter the root password before single user mode can be started. With Upstart, RHEL 6 has adopted a new and much faster alternative for the old System V boot procedure. With the adoption of this new service, Red Hat has still managed to keep the old management routines in place, meaning that as an administrator you can still manage services the way you are used to well almost that way - with some changes to the settings in the /etc/inittab file.
ABOUT THE AUTHOR: Sander van Vugt is an author and independent technical trainer, specializing in Linux since 1994. Vugt is also a technical consultant for high-availability (HA) clustering and performance optimization, as well as an expert on SLED 10 administration.

Submit

Not a member? We'll activate your FREE membership with your subscription.

Dig Deeper
PEOPLE WHO READ THIS ALSO READ... RELATED TAGS
6, admin , centos , linux ,

A guide to becoming a Puppet master Process monitoring and management on Red Hat using graphical tools SELinux tutorial: Introduction to Linux kernel security Ten command line time-savers for Linux administrators What is the Puppet configuration management tool, and how does it work?

SHOW ME MORE

This was first published in December 2010

Get a sneak peek at India's first tier 4 data center Ctrl S' facility at Hyderabad at SearchDataCenter.IN.
Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance

http://searchenterpriselinux.techtarget.com/tip/RHEL-6-ditches-System-V-init-for-Upstart-What-Linux-admins-need-to-know[2/1/2012 2:33:22 PM]

RHEL 6 ditches System V init for Upstart: What Linux admins need to know
on any questions, answers, information or other materials received through this Web site is at your own risk. BACK TO TOP

ADS BY GOOGLE
Download Google Chrome Searching is fast and easy with Google's web browser. www.Google.com/Chrome SoftLayer Is Here Cloud, dedicated, & managed hosting New Singapore Data Center Asia-Pacific.SoftLayer.com Professional Linux Laptop Linux on M6500, M4500, E6510, E4310 Fedora, Ubuntu, RHEL, Debian, Slack www.EmperorLinux.com Manage Microsoft Windows Streamline Windows Administration and Management. Free 30-day Trial www.systemtools.com

News

Enterprise Linux Topics

Tutorials

Expert Advice

White Papers

Blogs

Search

More from Related TechTarget Sites


DATA CENTER SERVER VIRTUALIZATION CLOUD COMPUTING ENTERPRISE DESKTOP

Experts say data centers to shrink as hosting, cloud services boom


IT pros discuss the pros and cons of maintaining a private data centers vs. outsourcing to managed data center hosting and cloud services.

Revitalize mainframe storage performance with VSAM


The traditional VSAM storage tactic sees renewed use as mainframe virtualization grows.

Energy Star for Servers finally means something


No longer limited to one- and twosocket boxes, the Energy Star for Servers label now applies to real enterprise-class hardware.

All Rights Reserved, Copyright 2003 - 2012, TechTarget ABOUT US CONTACT US SITE INDEX PRIVACY POLICY ADVERTISERS BUSINESS PARTNERS EVENTS MEDIA KIT TECHTARGET CORPORATE SITE REPRINTS SITE MAP

http://searchenterpriselinux.techtarget.com/tip/RHEL-6-ditches-System-V-init-for-Upstart-What-Linux-admins-need-to-know[2/1/2012 2:33:22 PM]

You might also like