Closed Bug 1034980 Opened 11 years ago Closed 11 years ago

mozpool dbcron should remove its tempfile when done

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

Details

Attachments

(1 file)

Particularly since running the cron as root creates that temp file as root, preventing it from running as apache later.
Attached patch bug1034980.patchSplinter Review
Attachment #8457011 - Flags: review?(arich)
Comment on attachment 8457011 [details] [diff] [review] bug1034980.patch Review of attachment 8457011 [details] [diff] [review]: ----------------------------------------------------------------- I've never personally used trap to catch successful exits, but I'm going to trust that you've done this before, tested it, and know that it works that way.
Attachment #8457011 - Flags: review?(arich) → review+
Attachment #8457011 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: