Merge lp:~mathiaz/eucalyptus/karmic-fix-cloud-upstart-job into lp:~ubuntu-core-dev/eucalyptus/ubuntu

Proposed by Mathias Gug
Status: Merged
Merged at revision: not available
Proposed branch: lp:~mathiaz/eucalyptus/karmic-fix-cloud-upstart-job
Merge into: lp:~ubuntu-core-dev/eucalyptus/ubuntu
Diff against target: 60 lines
2 files modified
debian/changelog (+5/-0)
debian/eucalyptus-common.eucalyptus.upstart (+7/-9)
To merge this branch: bzr merge lp:~mathiaz/eucalyptus/karmic-fix-cloud-upstart-job
Reviewer Review Type Date Requested Status
Thierry Carrez Pending
Dustin Kirkland  Pending
Review via email: mp+13452@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2009-10-15 22:05:15 +0000
3+++ debian/changelog 2009-10-16 01:40:29 +0000
4@@ -1,9 +1,14 @@
5 eucalyptus (1.6~bzr931-0ubuntu4) UNRELEASED; urgency=low
6
7+ [ Kees Cook ]
8 * Fix unsafe /tmp file uses (LP: #445105):
9 - tools/detach.pl: remove debugging XML dump call.
10 - node/handlers_xen.c: use mkstemp().
11
12+ [ Mathias Gug ]
13+ * debian/eucalyptus-common.eucalyptus.upstart: Start eucalyptus-cloud
14+ with all the relevant options (LP: #452665).
15+
16 -- Kees Cook <kees@ubuntu.com> Thu, 15 Oct 2009 15:03:37 -0700
17
18 eucalyptus (1.6~bzr931-0ubuntu3) karmic; urgency=low
19
20=== modified file 'debian/eucalyptus-common.eucalyptus.upstart'
21--- debian/eucalyptus-common.eucalyptus.upstart 2009-10-14 02:53:42 +0000
22+++ debian/eucalyptus-common.eucalyptus.upstart 2009-10-16 01:40:29 +0000
23@@ -3,9 +3,11 @@
24
25 start on runlevel [23]
26
27+respawn
28+
29 pre-start script
30 # Check if installed
31- [ -f /usr/sbin/euca_conf ]
32+ [ -f /usr/sbin/euca_conf ] || { stop; exit 0; }
33
34 mkdir -p /var/run/eucalyptus/net
35 chown eucalyptus:eucalyptus /var/run/eucalyptus /var/run/eucalyptus/net
36@@ -16,7 +18,9 @@
37 echo "Eucalyptus is not configured yet"
38 exit 1
39 fi
40+end script
41
42+script
43 . /etc/eucalyptus/eucalyptus.conf
44
45 opts="-h $EUCALYPTUS -u $EUCA_USER --pidfile /var/run/eucalyptus/eucalyptus.pid -L console-log"
46@@ -52,12 +56,6 @@
47 opts="$opts --disable-ebs"
48 fi
49
50- [ -n "$services" ] || exit 0
51-
52-end script
53-
54-exec eucalyptus-cloud $opts
55-
56-post-stop script
57- rm -f /var/run/eucalyptus/eucalyptus.options
58+ [ -n "$services" ] || { stop; exit 0; }
59+ exec eucalyptus-cloud $opts
60 end script

Subscribers

People subscribed via source and target branches