Informatika & Komputer    
   
Daftar Isi
(Sebelumnya) Ups (debugger)Uptime (Berikutnya)

Upstart

Upstart
Upstart logo
Original author(s)Scott James Remnant
Developer(s)Canonical Ltd.
Initial release24 August 2006
Stable release1.8 / March 22, 2013; 7 days ago (2013-03-22)
Written inC
Operating systemLinux
TypeInit daemon
LicenseGNU General Public License
Websiteupstart.ubuntu.com

Upstart is an event-based replacement for the traditional init daemon — the method by which several Unix-like computer operating systems perform tasks when the computer is started. It was written by Scott James Remnant, a former employee of Canonical Ltd.

Contents

Rationale

The traditional init process is strictly synchronous, blocking future tasks until the current one has completed. Its tasks must also be defined in advance, and they only run when the init daemon changes state (such as when the machine is powered on or off). This leaves it unable to handle various tasks on a modern desktop computer elegantly, including:

  • The addition or removal of USB pen drives and other portable storage / network devices while the machine is running
  • The discovery and scanning of new storage devices, without locking the system, especially when a disk may not even power on until it is scanned
  • The loading of firmware for a device, which may need to occur after it is detected but before it is usable

Upstart's event-driven model allows it to respond to events asynchronously as they are generated.[1]

Design

Upstart operates asynchronously — as well as handling the starting of tasks and services during boot and stopping them during shutdown, it supervises them while the system is running.

Easy transition and perfect backwards compatibility with sysvinit were explicit design goals.[2] As such, Upstart is able to run sysvinit scripts unmodified. In this way it differs from most other init replacements, which usually assume and require complete transition to run properly, and don't support a mixed environment of traditional and new startup methods.[3]

Adoption

As Upstart matures, it is intended that its role will expand to the duties currently handled by cron, anacron, the at command's daemon (atd), and possibly (but much less likely) inetd.

Distributions in which Upstart is enabled by default:

Distributions that used Upstart in some versions but moved to systemd in later versions:

  • Upstart replaced sysvinit in Fedora 9, and functioned in the same manner as it did in Ubuntu, i.e. it replaces sysvinit, while retaining the existing scripts. However, Upstart has been replaced by systemd in Fedora 15 release.[8][9]
  • Red Hat includes Upstart in their Red Hat Enterprise Linux 6 release.[10] As a result, it is also used by RHEL 6 variants such as Centos, Scientific Linux, and Oracle Linux.

Other:

  • Debian considered switching for the Squeeze release.[11]
  • openSUSE included upstart in version 11.3 Milestone 4, but not as default.[12] systemd replaced Upstart, as the default init system in openSUSE 12.1.[13]

See also

References

  1. ^ Remnant, Scott James (2006-08-26). "Upstart in Universe". Netsplit. Retrieved 2009-09-12. 
  2. ^ "Bugs", Launch Pad, Ubuntu, https://bugs.launchpad.net/ubuntu/+so urce/upstart/+bug/605007.
  3. ^ "Discussion of design and implementation of Upstart", Ubuntu, Canonical, https://wiki.ubuntu.com/ReplacementIn it.
  4. ^ "Upstart", About (Ubuntu), http://www.ubuntulinux.org/testing/ka rmic/alpha6#Upstart
  5. ^ Fremantle, Maemo, http://wiki.maemo.org/Task:Maemo_road map/Fremantle, retrieved 2009-08-24
  6. ^ Palm Pre, Live Journal, http://mjg59.livejournal.com/111453.h tml, retrieved 2009-07-09
  7. ^ Security Overview: Chromium OS design documents, Google, http://sites.google.com/a/chromium.or g/dev/chromium-os/chromiumos-design-d ocs/security-overview, retrieved 25 November 2009
  8. ^ Fedora 14 Accepted Features, 2010-07-13, https://fedoraproject.org/wiki/Releas es/14/FeatureList, retrieved 2010-07-13
  9. ^ "Fedora defers systemd to F15". Linux Weekly News. 2010-09-14. Retrieved 2010-09-17. 
  10. ^ Enterprise 6 Beta Release notes, Red Hat, http://docs.redhat.com/docs/en-US/Red _Hat_Enterprise_Linux/6/html-single/B eta_Release_Notes/index.html#id486220 3
  11. ^ Petter Reinholdtsen (2009-09-05), The future of the boot system in Debian, Debian, http://lists.debian.org/debian-devel- announce/2009/09/msg00003.html, retrieved 2009-10-12
  12. ^ OpenSUSE gets an Upstart, The H, 2010-03-26, http://www.h-online.com/open/news/ite m/OpenSUSE-gets-an-Upstart-964636.htm l, retrieved 2010-04-04
  13. ^ Chris von Eitzen (2011-11-16), openSUSE 12.1 arrives with systemd and Btrfs, The H, http://h-online.com/-1380033, retrieved 2011-11-16

External links

(Sebelumnya) Ups (debugger)Uptime (Berikutnya)