Merge lp://staging/~mpontillo/maas/packaging-fix-db-purge into lp://staging/~maas-maintainers/maas/packaging
Proposed by
Mike Pontillo
Status: | Merged |
---|---|
Approved by: | Mike Pontillo |
Approved revision: | no longer in the source branch. |
Merged at revision: | 376 |
Proposed branch: | lp://staging/~mpontillo/maas/packaging-fix-db-purge |
Merge into: | lp://staging/~maas-maintainers/maas/packaging |
Diff against target: |
25 lines (+4/-0) 2 files modified
debian/changelog (+3/-0) debian/maas-region-controller.prerm (+1/-0) |
To merge this branch: | bzr merge lp://staging/~mpontillo/maas/packaging-fix-db-purge |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
Raphaël Badin (community) | Approve | ||
Review via email: mp+255330@code.staging.launchpad.net |
Commit message
Fix bug #1044559 (services must be stopped, or database cannot properly be purged)
Description of the change
Before a postgresql database can be dropped, nothing can be using it. This patch stops maas-clusterd in prerm, so that it's more likely that the purge will succeed.
To post a comment you must log in.
Looks good to me. I'd like Andres opinion about this but you can probably drop the "invoke-rc.d apache2 stop || true" bit now…