Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Ubuntu 10.04.3, and am using upstart as the init daemon (pretty sure this is the default).

When a given event occurs, in what order are the jobs run? Specifically, I'm referring to jobs defined in /etc/init, not to any system V init scripts bridged over via rc-sysinit.conf.

As a specific example, suppose I have the following jobs defined in /etc/init to start on startup:

  • hostname.conf
  • module-init-tools.conf
  • mountall.conf
  • udev-finish.conf
  • udevmonitor.conf
  • udevtrigger.conf

in what order will these be run?

share|improve this question

It's defined inside the /etc/init/*.conf files, the parameter startup on indicates which services must be already up, or which runlevel must be running. With that, you can make an useful diagram of what your system exactly does. I did it that way to workaround some weird udevtrigger hang up, until I know the best stop parameter to give to it.

share|improve this answer

Unspecified order. Refer to the upstart cookbook

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.