dotcloud/stackbrew — pull request #78 by tianon (2014-06-06 08:05:21+00:00)
Title: Update ubuntu-upstart to fix several nagging issues

... like "mysql-server" not starting properly after it's installed

```console
root@99cc30c775a1:/stackbrew/stackbrew# ./brew-cli --debug -b update-upstart --targets ubuntu-upstart git://github.com/tianon/stackbrew
2014-06-06 07:52:52,862 DEBUG Cloning repo_url=git://github.com/tianon/stackbrew, ref=update-upstart
2014-06-06 07:52:52,864 DEBUG folder = /tmp/tmpiBJ13r
2014-06-06 07:52:52,864 DEBUG Cloning git://github.com/tianon/stackbrew into /tmp/tmpiBJ13r
2014-06-06 07:52:52,864 DEBUG Executing "git clone git://github.com/tianon/stackbrew ." in /tmp/tmpiBJ13r
Cloning into '.'...
remote: Counting objects: 751, done.
remote: Compressing objects: 100% (397/397), done.
remote: Total 751 (delta 413), reused 641 (delta 343)
Receiving objects: 100% (751/751), 113.09 KiB | 0 bytes/s, done.
Resolving deltas: 100% (413/413), done.
Checking connectivity... done.
2014-06-06 07:52:53,742 DEBUG Checkout ref:update-upstart in /tmp/tmpiBJ13r
2014-06-06 07:52:53,742 DEBUG Executing "git checkout update-upstart" in /tmp/tmpiBJ13r
Branch update-upstart set up to track remote branch update-upstart from origin.
Switched to a new branch 'update-upstart'
2014-06-06 07:52:53,748 DEBUG latest: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/14.04

2014-06-06 07:52:53,749 DEBUG trusty: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/14.04

2014-06-06 07:52:53,749 DEBUG 14.04: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/14.04

2014-06-06 07:52:53,749 DEBUG precise: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/12.04

2014-06-06 07:52:53,749 DEBUG 12.04: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/12.04

2014-06-06 07:52:53,749 DEBUG quantal: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/12.10

2014-06-06 07:52:53,749 DEBUG 12.10: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/12.10

2014-06-06 07:52:53,749 DEBUG raring: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/13.04

2014-06-06 07:52:53,749 DEBUG 13.04: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/13.04

2014-06-06 07:52:53,749 DEBUG saucy: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/13.10

2014-06-06 07:52:53,749 DEBUG 13.10: git://github.com/tianon/dockerfiles@c4f86111caa8c8eab8e1b3a58cdebcf86807169c sbin-init/ubuntu/upstart/13.10

2014-06-06 07:52:53,750 DEBUG latest: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 14.04

2014-06-06 07:52:53,750 DEBUG trusty: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 14.04

2014-06-06 07:52:53,750 DEBUG 14.04: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 14.04

2014-06-06 07:52:53,750 DEBUG precise: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 12.04.4

2014-06-06 07:52:53,750 DEBUG 12.04: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 12.04.4

2014-06-06 07:52:53,750 DEBUG quantal: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 12.10

2014-06-06 07:52:53,750 DEBUG 12.10: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 12.10

2014-06-06 07:52:53,750 DEBUG raring: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 13.04

2014-06-06 07:52:53,750 DEBUG 13.04: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 13.04

2014-06-06 07:52:53,750 DEBUG saucy: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 13.10

2014-06-06 07:52:53,750 DEBUG 13.10: git://github.com/tianon/docker-brew-ubuntu-core@8c85eb1f0adfbcb99ac60402461d465f136ad441 13.10

2014-06-06 07:52:53,750 DEBUG ubuntu-upstart: raring,13.04
2014-06-06 07:52:53,750 DEBUG ubuntu-upstart: quantal,12.10
2014-06-06 07:52:53,751 DEBUG ubuntu-upstart: saucy,13.10
2014-06-06 07:52:53,751 DEBUG ubuntu-upstart: latest,trusty,14.04
2014-06-06 07:52:53,751 DEBUG ubuntu-upstart: precise,12.04
2014-06-06 07:52:53,751 DEBUG ubuntu: precise,12.04
2014-06-06 07:52:53,751 DEBUG ubuntu: raring,13.04
2014-06-06 07:52:53,751 DEBUG ubuntu: latest,trusty,14.04
2014-06-06 07:52:53,751 DEBUG ubuntu: saucy,13.10
2014-06-06 07:52:53,751 DEBUG ubuntu: quantal,12.10
2014-06-06 07:52:53,751 DEBUG Cloning repo_url=git://github.com/tianon/dockerfiles, ref=c4f86111caa8c8eab8e1b3a58cdebcf86807169c
2014-06-06 07:52:53,751 DEBUG folder = /tmp/tmpgXqMf3
2014-06-06 07:52:53,751 DEBUG Cloning git://github.com/tianon/dockerfiles into /tmp/tmpgXqMf3
2014-06-06 07:52:53,751 DEBUG Executing "git clone git://github.com/tianon/dockerfiles ." in /tmp/tmpgXqMf3
Cloning into '.'...
remote: Reusing existing pack: 476, done.
remote: Counting objects: 30, done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 506 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (506/506), 235.82 KiB | 327.00 KiB/s, done.
Resolving deltas: 100% (196/196), done.
Checking connectivity... done.
2014-06-06 07:52:54,908 DEBUG Checkout ref:c4f86111caa8c8eab8e1b3a58cdebcf86807169c in /tmp/tmpgXqMf3
2014-06-06 07:52:54,909 DEBUG Executing "git checkout c4f86111caa8c8eab8e1b3a58cdebcf86807169c" in /tmp/tmpgXqMf3
Note: checking out 'c4f86111caa8c8eab8e1b3a58cdebcf86807169c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at c4f8611... update ubuntu-upstart with more hacky magic, especially emulating runlevel 3 directly to force more stuff to startup properly
2014-06-06 07:52:54,914 INFO Build start: ubuntu-upstart ('git://github.com/tianon/dockerfiles', 'c4f86111caa8c8eab8e1b3a58cdebcf86807169c', 'sbin-init/ubuntu/upstart/13.04')
2014-06-06 07:54:22,089 INFO Build success: 4c3299c9bbdf (ubuntu-upstart:raring)
2014-06-06 07:54:22,093 INFO Build success: 4c3299c9bbdf (ubuntu-upstart:13.04)
2014-06-06 07:54:22,097 DEBUG Checkout ref:c4f86111caa8c8eab8e1b3a58cdebcf86807169c in /tmp/tmpgXqMf3
2014-06-06 07:54:22,097 DEBUG Executing "git checkout c4f86111caa8c8eab8e1b3a58cdebcf86807169c" in /tmp/tmpgXqMf3
HEAD is now at c4f8611... update ubuntu-upstart with more hacky magic, especially emulating runlevel 3 directly to force more stuff to startup properly
2014-06-06 07:54:22,102 INFO Build start: ubuntu-upstart ('git://github.com/tianon/dockerfiles', 'c4f86111caa8c8eab8e1b3a58cdebcf86807169c', 'sbin-init/ubuntu/upstart/12.10')
2014-06-06 07:55:36,247 INFO Build success: a90e3929bee6 (ubuntu-upstart:quantal)
2014-06-06 07:55:36,252 INFO Build success: a90e3929bee6 (ubuntu-upstart:12.10)
2014-06-06 07:55:36,255 DEBUG Checkout ref:c4f86111caa8c8eab8e1b3a58cdebcf86807169c in /tmp/tmpgXqMf3
2014-06-06 07:55:36,256 DEBUG Executing "git checkout c4f86111caa8c8eab8e1b3a58cdebcf86807169c" in /tmp/tmpgXqMf3
HEAD is now at c4f8611... update ubuntu-upstart with more hacky magic, especially emulating runlevel 3 directly to force more stuff to startup properly
2014-06-06 07:55:36,260 INFO Build start: ubuntu-upstart ('git://github.com/tianon/dockerfiles', 'c4f86111caa8c8eab8e1b3a58cdebcf86807169c', 'sbin-init/ubuntu/upstart/13.10')
2014-06-06 07:57:13,074 INFO Build success: c8ab341cecda (ubuntu-upstart:saucy)
2014-06-06 07:57:13,080 INFO Build success: c8ab341cecda (ubuntu-upstart:13.10)
2014-06-06 07:57:13,085 DEBUG Checkout ref:c4f86111caa8c8eab8e1b3a58cdebcf86807169c in /tmp/tmpgXqMf3
2014-06-06 07:57:13,085 DEBUG Executing "git checkout c4f86111caa8c8eab8e1b3a58cdebcf86807169c" in /tmp/tmpgXqMf3
HEAD is now at c4f8611... update ubuntu-upstart with more hacky magic, especially emulating runlevel 3 directly to force more stuff to startup properly
2014-06-06 07:57:13,090 INFO Build start: ubuntu-upstart ('git://github.com/tianon/dockerfiles', 'c4f86111caa8c8eab8e1b3a58cdebcf86807169c', 'sbin-init/ubuntu/upstart/14.04')
2014-06-06 07:58:37,464 INFO Build success: bad0017b29df (ubuntu-upstart:latest)
2014-06-06 07:58:37,469 INFO Build success: bad0017b29df (ubuntu-upstart:trusty)
2014-06-06 07:58:37,473 INFO Build success: bad0017b29df (ubuntu-upstart:14.04)
2014-06-06 07:58:37,476 DEBUG Checkout ref:c4f86111caa8c8eab8e1b3a58cdebcf86807169c in /tmp/tmpgXqMf3
2014-06-06 07:58:37,476 DEBUG Executing "git checkout c4f86111caa8c8eab8e1b3a58cdebcf86807169c" in /tmp/tmpgXqMf3
HEAD is now at c4f8611... update ubuntu-upstart with more hacky magic, especially emulating runlevel 3 directly to force more stuff to startup properly
2014-06-06 07:58:37,481 INFO Build start: ubuntu-upstart ('git://github.com/tianon/dockerfiles', 'c4f86111caa8c8eab8e1b3a58cdebcf86807169c', 'sbin-init/ubuntu/upstart/12.04')
2014-06-06 07:58:47,601 INFO Build success: f5a09f8b1b73 (ubuntu-upstart:precise)
2014-06-06 07:58:47,606 INFO Build success: f5a09f8b1b73 (ubuntu-upstart:12.04)
2014-06-06 07:58:47,610 DEBUG Cloning repo_url=git://github.com/tianon/docker-brew-ubuntu-core, ref=8c85eb1f0adfbcb99ac60402461d465f136ad441
2014-06-06 07:58:47,610 DEBUG folder = /tmp/tmpQhaHOW
2014-06-06 07:58:47,610 DEBUG Cloning git://github.com/tianon/docker-brew-ubuntu-core into /tmp/tmpQhaHOW
2014-06-06 07:58:47,610 DEBUG Executing "git clone git://github.com/tianon/docker-brew-ubuntu-core ." in /tmp/tmpQhaHOW
Cloning into '.'...
remote: Reusing existing pack: 70, done.
remote: Total 70 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (70/70), 211.21 MiB | 1.56 MiB/s, done.
Resolving deltas: 100% (17/17), done.
Checking connectivity... done.
2014-06-06 08:01:06,330 DEBUG Checkout ref:8c85eb1f0adfbcb99ac60402461d465f136ad441 in /tmp/tmpQhaHOW
2014-06-06 08:01:06,330 DEBUG Executing "git checkout 8c85eb1f0adfbcb99ac60402461d465f136ad441" in /tmp/tmpQhaHOW
Note: checking out '8c85eb1f0adfbcb99ac60402461d465f136ad441'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 8c85eb1... add update script and initial ubuntu-core tarballs
2014-06-06 08:01:06,817 INFO Build start: ubuntu ('git://github.com/tianon/docker-brew-ubuntu-core', '8c85eb1f0adfbcb99ac60402461d465f136ad441', '12.04.4')
2014-06-06 08:01:39,576 INFO Build success: 274caabcf7cf (ubuntu:precise)
2014-06-06 08:01:39,580 INFO Build success: 274caabcf7cf (ubuntu:12.04)
2014-06-06 08:01:39,584 DEBUG Checkout ref:8c85eb1f0adfbcb99ac60402461d465f136ad441 in /tmp/tmpQhaHOW
2014-06-06 08:01:39,584 DEBUG Executing "git checkout 8c85eb1f0adfbcb99ac60402461d465f136ad441" in /tmp/tmpQhaHOW
HEAD is now at 8c85eb1... add update script and initial ubuntu-core tarballs
2014-06-06 08:01:40,068 INFO Build start: ubuntu ('git://github.com/tianon/docker-brew-ubuntu-core', '8c85eb1f0adfbcb99ac60402461d465f136ad441', '13.04')
2014-06-06 08:02:20,938 INFO Build success: c3d7663cceb5 (ubuntu:raring)
2014-06-06 08:02:20,942 INFO Build success: c3d7663cceb5 (ubuntu:13.04)
2014-06-06 08:02:20,946 DEBUG Checkout ref:8c85eb1f0adfbcb99ac60402461d465f136ad441 in /tmp/tmpQhaHOW
2014-06-06 08:02:20,946 DEBUG Executing "git checkout 8c85eb1f0adfbcb99ac60402461d465f136ad441" in /tmp/tmpQhaHOW
HEAD is now at 8c85eb1... add update script and initial ubuntu-core tarballs
2014-06-06 08:02:20,951 INFO Build start: ubuntu ('git://github.com/tianon/docker-brew-ubuntu-core', '8c85eb1f0adfbcb99ac60402461d465f136ad441', '14.04')
2014-06-06 08:03:21,179 INFO Build success: 638d2d6788e4 (ubuntu:latest)
2014-06-06 08:03:21,183 INFO Build success: 638d2d6788e4 (ubuntu:trusty)
2014-06-06 08:03:21,187 INFO Build success: 638d2d6788e4 (ubuntu:14.04)
2014-06-06 08:03:21,191 DEBUG Checkout ref:8c85eb1f0adfbcb99ac60402461d465f136ad441 in /tmp/tmpQhaHOW
2014-06-06 08:03:21,191 DEBUG Executing "git checkout 8c85eb1f0adfbcb99ac60402461d465f136ad441" in /tmp/tmpQhaHOW
HEAD is now at 8c85eb1... add update script and initial ubuntu-core tarballs
2014-06-06 08:03:21,195 INFO Build start: ubuntu ('git://github.com/tianon/docker-brew-ubuntu-core', '8c85eb1f0adfbcb99ac60402461d465f136ad441', '13.10')
2014-06-06 08:03:49,211 INFO Build success: 986b20ec13af (ubuntu:saucy)
2014-06-06 08:03:49,215 INFO Build success: 986b20ec13af (ubuntu:13.10)
2014-06-06 08:03:49,219 DEBUG Checkout ref:8c85eb1f0adfbcb99ac60402461d465f136ad441 in /tmp/tmpQhaHOW
2014-06-06 08:03:49,219 DEBUG Executing "git checkout 8c85eb1f0adfbcb99ac60402461d465f136ad441" in /tmp/tmpQhaHOW
HEAD is now at 8c85eb1... add update script and initial ubuntu-core tarballs
2014-06-06 08:03:49,224 INFO Build start: ubuntu ('git://github.com/tianon/docker-brew-ubuntu-core', '8c85eb1f0adfbcb99ac60402461d465f136ad441', '12.10')
2014-06-06 08:04:15,578 INFO Build success: 7a5cb72d75d7 (ubuntu:quantal)
2014-06-06 08:04:15,582 INFO Build success: 7a5cb72d75d7 (ubuntu:12.10)
```

(thanks to @joshk for prompting me to look into these)