Leaking temporary directories
Bug #1366652 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
I left a recent trunk package running for a few days, and found that my /tmp was full of temp dirs containing files “maas.ubuntu.
Related branches
lp:~jtv/maas/bug-1366652
- Blake Rouse (community): Approve
- Julian Edwards (community): Approve
-
Diff: 236 lines (+45/-48)6 files modifiedsrc/maasserver/bootresources.py (+6/-5)
src/maasserver/tests/test_bootresources.py (+3/-2)
src/provisioningserver/import_images/boot_resources.py (+25/-23)
src/provisioningserver/import_images/keyrings.py (+7/-5)
src/provisioningserver/import_images/tests/test_boot_resources.py (+1/-1)
src/provisioningserver/import_images/tests/test_keyrings.py (+3/-12)
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The directories appear to have been written by write_all_keyrings. I don't see any way for them to be cleaned up: the directory gets created, and effectively, forgotten immediately.