Merge lp:~lynxman/ubuntu/natty/mcollective/natty-upstart into lp:ubuntu/natty/mcollective

Proposed by Marc Cluet
Status: Needs review
Proposed branch: lp:~lynxman/ubuntu/natty/mcollective/natty-upstart
Merge into: lp:ubuntu/natty/mcollective
Diff against target: 40 lines (+10/-2)
3 files modified
debian/changelog (+7/-0)
debian/mcollective.upstart (+2/-2)
etc/client.cfg.dist (+1/-0)
To merge this branch: bzr merge lp:~lynxman/ubuntu/natty/mcollective/natty-upstart
Reviewer Review Type Date Requested Status
Brian Murray Needs Information
Review via email: mp+58180@code.launchpad.net

Description of the change

* Changes upstart script to not daemonize, avoid multiple daemonize scenario
* Modified server.cfg to reflect change

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

For this to be fixed in Natty as an SRU we'll need to have a bug report documenting the issue. (https://wiki.ubuntu.com/StableReleaseUpdates) I looked at the open mcollective bug reports and there aren't any about this particular issue. Could you report a bug following the SRU procedure if you'd like to see this fixed in Natty? Thanks in advance.

review: Needs Information

Unmerged revisions

7. By Marc Cluet

Modified upstart script

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 2011-02-23 03:09:22 +0000
3+++ debian/changelog 2011-04-18 19:02:27 +0000
4@@ -1,3 +1,10 @@
5+mcollective (1.0.1-0ubuntu3) natty; urgency=low
6+
7+ * Modified upstart script to avoid daemonize, this solves a multiple run
8+ scenario
9+
10+ -- Marc Cluet <marc.cluet@ubuntu.com> Mon, 18 Apr 2011 14:48:44 -0500
11+
12 mcollective (1.0.1-0ubuntu2) natty; urgency=low
13
14 * debian/mcollective.triggers, debian/mcollective.postinst: install dpkg
15
16=== modified file 'debian/mcollective.upstart'
17--- debian/mcollective.upstart 2011-02-01 09:15:08 +0000
18+++ debian/mcollective.upstart 2011-04-18 19:02:27 +0000
19@@ -3,7 +3,7 @@
20
21 start on runlevel [2345]
22 stop on runlevel [!2345]
23-expect daemon
24+respawn
25
26-export RUBYLIB=/usr/local/lib/site_ruby/1.8:$RUBYLIB
27+env RUBYLIB=/usr/local/lib/site_ruby/1.8:$RUBYLIB
28 exec /usr/sbin/mcollectived --pid="/var/run/mcollectived.pid" --config="/etc/mcollective/server.cfg"
29
30=== modified file 'etc/client.cfg.dist'
31--- etc/client.cfg.dist 2011-02-01 09:15:08 +0000
32+++ etc/client.cfg.dist 2011-04-18 19:02:27 +0000
33@@ -2,6 +2,7 @@
34 libdir = /usr/share/mcollective
35 logfile = /dev/null
36 loglevel = info
37+daemonize = 0
38
39 # Plugins
40 securityprovider = psk

Subscribers

People subscribed via source and target branches

to all changes: