Actions
Bug #15385
openuniquely identify /tmp build directories
Status:
New
Priority:
Normal
Assignee:
-
Category:
build
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
If the following directories don't get cleaned up properly and are owned by another user, building ceph fails:
/tmp/ceph-disk-virtualenv
/tmp/ceph-detect-init-virtualenv
This may be fixed by adding some kind of unique identifier to the directory structure so that new builds don't attempt to use the exact same directory as previous builds.
Updated by Dan Mick about 8 years ago
1) not cleaning them up is definitely a bug
2) having them be unique per run is still a great idea for multiple simultaneous builds
mktemp or whatever is probably the answer
Updated by Robin Johnson about 8 years ago
I sent in PR8457 yesterday because the hardcoded /tmp was a problem on Gentoo builds; Probably could be trivially extended to take a random string generated during configure.
Actions