Merge lp:~bac/launchpad/cleanish into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Brad Crittenden on 2012-05-25 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15311 |
| Proposed branch: | lp:~bac/launchpad/cleanish |
| Merge into: | lp:launchpad |
| Diff against target: |
65 lines (+16/-5) 1 file modified
Makefile (+16/-5) |
| To merge this branch: | bzr merge lp:~bac/launchpad/cleanish |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gary Poster (community) | 2012-05-25 | Approve on 2012-05-25 | |
|
Review via email:
|
|||
Commit Message
Add new makefile target to clean but not remove /var/tmp/
Description of the Change
= Summary =
Complete removal of /var/tmp/
in environments where the machine goes up and down a lot, thus causing
Apache to bounce. If that directory does not exist when Apache comes
up it will be recreated by root with the wrong permissions.
== Proposed fix ==
Create a new cleaning target that simply removes the contents of that
directory but not the directory itself.
A more aggressive approach would be to make this change to the
existing 'clean' target but since we don't want to cause any
unforeseen problems we have left the behavior of that target as is.
== Pre-implementation notes ==
Props to Graham and Gary for helping to track down this spawn of
Satan.
== Tests ==
N/A
== Demo and Q/A ==
N/A
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
Makefile
./Makefile
202: Line exceeds 80 characters.

Thank you!
Please file a bug for the longer term issue of bug 1004088: our tests should pass without an Apache configuration. Then convert the comment in line 27ff to be an XXX, referencing the new bug and noting that, once that new bug is fixed, parallel testing ought to be able to switch to using make inplace rather than make install and then this make target can be collapsed once again into a single "clean" target.