Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.
131
votes
6answers
117k views
What's the recommended way to enable / disable services?
I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them.
The first method I found is update-rc.d to add new services to startup, ...
3
votes
5answers
12k views
After Upgrading to 12.04 I can't get to the login screen
I cannot go pass the black screen and the following shows up on my screen after upgrading and rebooting with the Ubuntu update manager from 11.10 to 12.04:
ata_id [27]: HDIO_GET_IDENTITY failed for ...
32
votes
2answers
19k views
What's the difference between “Service” and “/etc/init.d/”?
I've been managing server installations both on and off Ubuntu flavor for some time - I've become quite adjusted to /etc/init.d/ for restarting servcies. Now I get this message:
root@tatooine:~# ...
1
vote
1answer
352 views
cannot get upstart to run user job
I am trying to get upstart start a user job during the boot of my machine.
I have my conky.conf upstart config file in my $HOME/.init directory.
Wenn I run "start conky" I get this error:
...
7
votes
1answer
3k views
Want to make an upstart script; need help and advice
Atm, I need to randomly start and stop (for lack of a better word in my mind) a job. I start it by typing java -jar foo.jar and to stop it find out its pid and kill it. Killing it doesn't cause any ...
11
votes
4answers
7k views
Slow boot after clean install of Natty
The time have risen from 20-25 sec in Meerkat to 35 sec in Natty. I do not know if it is ureadahead but made a bugreport of it in launchpad. I tried Fedora shortly before installing Natty. They use ...
7
votes
1answer
1k views
Do newer Ubuntu releases benefit from multicore processors at boot time?
I've read the Upstart features and it says nothing about concurrency.
I also read old advices to set CONCURRENCY value in the /etc/init.d/rc
But there is a comment:
Specify method used to enable ...
6
votes
4answers
931 views
11
votes
2answers
7k views
how to debug upstart scripts?
For some reason I'm getting an error during apport upgrades, the cause of which is
% sudo service apport start
start: Job failed to start
Under sysvinit, I could debug this kind of problem by ...
7
votes
2answers
398 views
Upstart script: Detect shift key down at boot
I want to create a boot up potential which allows a different upstart/runlevel configurations to load based upon specific key downs at boot (or combos). How do I detect a key down event with an ...
15
votes
6answers
4k views
upstart-supervised init script for Apache?
I want to run apache on Ubuntu 10.04, and use the nice supervision stuff in upstart (I'm not just talking about the apache init script, but proper service supervision a la daemontools - which is to ...
17
votes
2answers
3k views
Is there any GUI tool for Upstart
Is there currently any GUI based application to show currently running services, with buttons to start and stop services?
It doesn't necessarily need to be able to set boot up behaviour.
13
votes
2answers
4k views
How can I make sure one Upstart job starts before other Upstart jobs?
This is a general Upstart question, but let me use a specific case:
Centrify is a NIS to ActiveDirectory gateway. It needs to load before any service that will depend the authentication service that ...
6
votes
3answers
7k views
How to disable GDM from being automatically started?
After Ubuntu Server 12.04 installation, I installed Xubuntu just to have a minimal GUI:
sudo apt-get install x-window-system-core
sudo apt-get install --no-install-recommends xubuntu-desktop gparted
...
7
votes
1answer
5k views
Differences between Upstart and Systemd
I have read several news sites about Systemd and how better it is but I have not yet seen one that actually compares Upstart with Systemd. Actually, I haven't even seen one that talks about the ...
7
votes
2answers
1k views
What tool can I use to manage upstart services?
How should I configure upstart runlevels ? Of course I could edit /etc/init/XX but that wasn't right way to do this, I think.
6
votes
3answers
4k views
From init.d to upstart, is there a bridge?
I've got a perfectly good script for use in /etc/init.d. In fact, I have a lot of them, all created with the Tanuki Java Service Wrapper.
It would seem to me that there could be a simple template for ...
4
votes
1answer
16k views
How to config start services with Upstart?
Since upstart 1.5 comes with Ubuntu 12.04,
bum and sysv-rc-conf is no longer effective on it.
How can I config?
3
votes
1answer
561 views
GDM killed on startup
In order to fix a sound issue, I'd completely removed all PulseAudio packages, which removed several additional packages which I hadn't kept track of.
I have since added back several packages that ...
2
votes
2answers
567 views
How do I run a script once and only once in Upstart?
I have a script that starts on desktop-session-start. The first person who logs in graphically after a boot will have this script called. I want it called once, not every time a person logs in. How ...
2
votes
2answers
999 views
Disable GDM on ubuntu netbook remix
I'm running Ubuntu Netbook Remix 10.10 (on a pandaboard), and it doesn't boot with grub (so I can't pass it the 'text' parameter at boot time).
How do i disable gdm so it doesn't start at boot? ...
9
votes
2answers
1k views
How do I set up a service?
I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
4
votes
1answer
607 views
Python service using Upstart on Ubuntu
I want to create to deploy a heartbeat service (a python script) as a service using Upstart.
My understanding is that I've to add a /etc/init/myheartbeatservice.conf with the following contents.
# ...
3
votes
2answers
253 views
Why is this laptop taking almost 1 minute to boot Ubuntu 13.04?
My dad's new HP Pavilion dv6 laptop running Ubuntu 13.04 takes almost a minute to boot up - it seems like it's hanging somewhere. Is there something I can do to easily fix it?
I need some help ...
2
votes
1answer
508 views
Does Upstart emit hooks for SysV jobs?
I want to make an Upstart job start immediately before a System V job (/etc/rc0.d/S40umountfs). I've tried specifying:
start on starting umountfs
but Upstart doesn't recognize the name of the ...
1
vote
1answer
428 views
Managing dependency across Upstart and SysV-style init.d script
I have an Upstart job that must run before a SysV-style init.d script runs.
The init.d script is configured to be started in the runlevels 2, 3, 4 and 5 with priority 20.
What can I do to have the ...
1
vote
0answers
528 views
/dev/mapper/cryptsetup1 is not ready yet or not present, slow system [closed]
Today I had a very high system load because I used many applications at the same time (VirtualBox, totem, firefox,...). The load was so high, that the system almost didn't react anymore. Then I killed ...
1
vote
1answer
415 views
What are the upstart events to monitor to attach/detach an EBS volume and an elastic IP at startup/shutdown?
I'm setting up an Ubuntu instance on Amazon EC2 and I'm trying to configure it so that, at startup, it automatically attaches an EBS volume and takes an elastic IP address and, at shutdown, it ...
1
vote
1answer
243 views
Sense of “stop on…” stanza when job is a task
an upstart question (I think I have read all relevant man pages but could not find the answer there): What is the sense of using a "stop on ..." stanza in the definition of a job which is a task?
The ...