Serge Hallyn has proposed merging lp:~serge-hallyn/ubuntu/precise/libcgroup/fix-startup-after-remove into lp:ubuntu/libcgroup.
Requested reviews: Ubuntu Server Team (ubuntu-server) Related bugs: Bug #875525 in libcgroup (Ubuntu): "cgroup-bin upstart job does not handle the package being removed but not purged properly" https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/875525 For more details, see: https://code.launchpad.net/~serge-hallyn/ubuntu/precise/libcgroup/fix-startup-after-remove/+merge/86280 -- https://code.launchpad.net/~serge-hallyn/ubuntu/precise/libcgroup/fix-startup-after-remove/+merge/86280 Your team Ubuntu Server Team is requested to review the proposed merge of lp:~serge-hallyn/ubuntu/precise/libcgroup/fix-startup-after-remove into lp:ubuntu/libcgroup.
=== modified file 'debian/cgroup-bin.cgconfig.upstart' --- debian/cgroup-bin.cgconfig.upstart 2011-09-02 16:35:03 +0000 +++ debian/cgroup-bin.cgconfig.upstart 2011-12-19 18:34:24 +0000 @@ -6,6 +6,8 @@ console output pre-start script + test -x /usr/sbin/cgconfigparser || { stop; exit 0; } + CREATE_DEFAULT="yes" CGCONFIG=/etc/cgconfig.conf if [ -r /etc/default/cgconfig ]; then === modified file 'debian/cgroup-bin.cgred.upstart' --- debian/cgroup-bin.cgred.upstart 2011-02-17 18:03:17 +0000 +++ debian/cgroup-bin.cgred.upstart 2011-12-19 18:34:24 +0000 @@ -6,7 +6,12 @@ start on started cgconfig stop on stopped cgconfig +pre-start script + test -x /usr/sbin/cgrulesengd || { stop; exit 0; } +end script + script + # get default options OPTIONS="" CGRED_CONF=/etc/cgrules.conf === modified file 'debian/cgroup-bin.libvirt-cgconfig-wait.upstart' --- debian/cgroup-bin.libvirt-cgconfig-wait.upstart 2011-09-02 16:35:03 +0000 +++ debian/cgroup-bin.libvirt-cgconfig-wait.upstart 2011-12-19 18:34:24 +0000 @@ -12,6 +12,8 @@ task script + test -x /usr/sbin/cgconfigparser || { exit 0; } + # If cgconfig started before we were triggered, then we can stop # so that libvirt-bin can start if status cgconfig 2>/dev/null | grep -q "start/running"; then === modified file 'debian/changelog' --- debian/changelog 2011-11-22 12:26:40 +0000 +++ debian/changelog 2011-12-19 18:34:24 +0000 @@ -1,3 +1,10 @@ +libcgroup (0.37.1-1ubuntu9) precise; urgency=low + + * Don't run upstart jobs if package has been removed but not purged. + (LP: #875525) + + -- Serge Hallyn <serge.hal...@ubuntu.com> Mon, 19 Dec 2011 12:06:46 -0600 + libcgroup (0.37.1-1ubuntu8) precise; urgency=low * debian/cgroup-lite.cgroups-mount: don't run if cgroups are mounted by
-- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs