ArticleslgStudy

computer science

Upstart (software)

Upstart (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Upstart (software) rather than just read about it. In short: Upstart is a discontinued 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.

Upstart (software) — main illustration
Upstart (software) — illustration

Key takeaways

  • Upstart (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Upstart (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Upstart (software) from memory before moving on to harder problems.

Reference excerpt

Upstart is a discontinued 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. In 2014, Upstart was placed in maintenance mode, and other init daemons, such as systemd, were recommended in place of Upstart. Ubuntu moved away from Upstart with the release of version 15.04 (Vivid Vervet) in favor of migrating to systemd. As of June 2024, there have been no updates released for Upstart since September 2014.

Rationale The traditional init process was originally only responsible for bringing the computer into a normal running state after power-on, or gracefully shutting down services prior to shutdown. As a result, the design is strictly synchronous, blocking future tasks until the current one has completed. Its tasks must also be defined in advance, as they are limited to this prep or cleanup function. This leaves it unable to handle various non-startup-tasks on a modern desktop computer elegantly, including:

The addition or removal of USB flash drives and other portable storage or network devices while the machine is running The discovery and scanning of new storage devices, 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.

Design Upstart operates asynchronously; it handles starting of the tasks and services during boot and stopping them during shutdown, and also supervises the tasks and services while the system is running. Easy transition and perfect backward compatibility with sysvinit were the explicit design goals; accordingly, Upstart can run unmodified sysvinit scripts. In this way it differs from most other init replacements (beside systemd and OpenRC), which usually assume and require complete transition to run properly, and do not support a mixed environment of traditional and new startup methods. Upstart allows for extensions to its event model through the use of initctl to input custom, single events, or event bridges to integrate many or more-complicated events. By default, Upstart includes bridges for socket, dbus, udev, file, and dconf events; additionally, more bridges are possible.

Adoption Linux distributions and other operating systems based on the Linux kernel which use Upstart as the default init system:

Upstart is used in Google's ChromeOS and ChromiumOS. Linux distributions that support or have supported Upstart to some extent, but moved away since or no longer use it as their default init system:

Debian decided that systemd would be the default init system beginning with the Jessie release, after considering switching to Upstart. It was eventually removed from the Debian archives in December 2015. Upstart was first included in Ubuntu in the Ubuntu 6.10 "Edgy Eft" release in late 2006, replacing sysvinit. Ubuntu 9.10 "Karmic Koala" introduced native Upstart bootup as of Alpha 6. In turn, after the Debian project decided to adopt systemd on a future release in 2014, Mark Shuttleworth announced that Ubuntu would begin plans to migrate to systemd itself to maintain consistency with upstream. Ubuntu finished the switch to systemd as its default init system in version 15.04 (Vivid Vervet), with the exception of Ubuntu Touch. In Fedora 9, Upstart replaced sysvinit, however, systemd replaced Upstart in the Fedora 15 release. Red Hat includes Upstart in their Red Hat Enterprise Linux 6 release. As a result, it is also used by RHEL 6 variants such as CentOS, Scientific Linux, and Oracle Linux. For RHEL 7, systemd is used instead. openSUSE included Upstart in version 11.3 Milestone 4, but not as default. systemd replaced Upstart, as the default init system in openSUSE 12.1. Upstart is used in HP's webOS for the Palm Pre, Palm Pixi (both before Palm was bought out by HP), HP Veer, and HP Pre 3 smart phones, along with the HP TouchPad tablet. Upstart replaced the sysvinit in Maemo 5 for Nokia Internet tablets. The latest release was version 1.13 on July 11, 2014. Since December 2018 the project website says that Upstart is in maintenance mode only, and recommends other init systems, such as systemd.

See also

Systemd launchd runit Operating system service management Service Management Facility

References

External links Official website Upstart on Launchpad Upstart Cookbook Archived 2012-11-03 at the Wayback Machine Upstart Cookbook Archived 2012-10-18 at the Wayback Machine Init systems comparison: part 1 and part 2 at LWN.net Init systems comparison table

Worked examples

Example 1 — a first encounter with Upstart (software)

Start with the simplest possible case. Write down what Upstart (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Upstart (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Upstart (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Upstart (software)

In research
Upstart (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Upstart (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Upstart (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Ubuntu, Unix process- and task-management-related software, so understanding it makes those chapters shorter.
In everyday life
Look for Upstart (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Upstart (software)” →

How to study Upstart (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Upstart (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Upstart (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Upstart (software) in simple terms?

Upstart is a discontinued 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.

Why does Upstart (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Upstart (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Upstart (software).

Tags

  • Ubuntu
  • Unix process- and task-management-related software

Keep exploring