Project

General

Profile

Actions

Bug #754

closed

mkfs script should clean up its entries in /tmp, and use TMPDIR

Added by Colin McCabe about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Our mkfs shell script creates stuff in /tmp and doesn't clean it up. Should use "trap" to ensure that this stuff gets cleaned up. Also, we should use ENV[TMPDIR] rather than blindly assuming that /tmp is where to put stuff. I guess mkdtmp/mkstmp handles that for you.

Actions

Also available in: Atom PDF