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
=== modified file 'debian/changelog'
--- debian/changelog 2009-10-15 22:05:15 +0000
+++ debian/changelog 2009-10-16 01:40:29 +0000
@@ -1,9 +1,14 @@
1eucalyptus (1.6~bzr931-0ubuntu4) UNRELEASED; urgency=low1eucalyptus (1.6~bzr931-0ubuntu4) UNRELEASED; urgency=low
22
3 [ Kees Cook ]
3 * Fix unsafe /tmp file uses (LP: #445105):4 * Fix unsafe /tmp file uses (LP: #445105):
4 - tools/detach.pl: remove debugging XML dump call.5 - tools/detach.pl: remove debugging XML dump call.
5 - node/handlers_xen.c: use mkstemp().6 - node/handlers_xen.c: use mkstemp().
67
8 [ Mathias Gug ]
9 * debian/eucalyptus-common.eucalyptus.upstart: Start eucalyptus-cloud
10 with all the relevant options (LP: #452665).
11
7 -- Kees Cook <kees@ubuntu.com> Thu, 15 Oct 2009 15:03:37 -070012 -- Kees Cook <kees@ubuntu.com> Thu, 15 Oct 2009 15:03:37 -0700
813
9eucalyptus (1.6~bzr931-0ubuntu3) karmic; urgency=low14eucalyptus (1.6~bzr931-0ubuntu3) karmic; urgency=low
1015
=== modified file 'debian/eucalyptus-common.eucalyptus.upstart'
--- debian/eucalyptus-common.eucalyptus.upstart 2009-10-14 02:53:42 +0000
+++ debian/eucalyptus-common.eucalyptus.upstart 2009-10-16 01:40:29 +0000
@@ -3,9 +3,11 @@
33
4start on runlevel [23]4start on runlevel [23]
55
6respawn
7
6pre-start script8pre-start script
7 # Check if installed9 # Check if installed
8 [ -f /usr/sbin/euca_conf ]10 [ -f /usr/sbin/euca_conf ] || { stop; exit 0; }
911
10 mkdir -p /var/run/eucalyptus/net12 mkdir -p /var/run/eucalyptus/net
11 chown eucalyptus:eucalyptus /var/run/eucalyptus /var/run/eucalyptus/net13 chown eucalyptus:eucalyptus /var/run/eucalyptus /var/run/eucalyptus/net
@@ -16,7 +18,9 @@
16 echo "Eucalyptus is not configured yet"18 echo "Eucalyptus is not configured yet"
17 exit 119 exit 1
18 fi20 fi
21end script
1922
23script
20 . /etc/eucalyptus/eucalyptus.conf24 . /etc/eucalyptus/eucalyptus.conf
2125
22 opts="-h $EUCALYPTUS -u $EUCA_USER --pidfile /var/run/eucalyptus/eucalyptus.pid -L console-log"26 opts="-h $EUCALYPTUS -u $EUCA_USER --pidfile /var/run/eucalyptus/eucalyptus.pid -L console-log"
@@ -52,12 +56,6 @@
52 opts="$opts --disable-ebs"56 opts="$opts --disable-ebs"
53 fi57 fi
5458
55 [ -n "$services" ] || exit 059 [ -n "$services" ] || { stop; exit 0; }
5660 exec eucalyptus-cloud $opts
57end script
58
59exec eucalyptus-cloud $opts
60
61post-stop script
62 rm -f /var/run/eucalyptus/eucalyptus.options
63end script61end script

Subscribers

People subscribed via source and target branches